Skip to content

Instantly share code, notes, and snippets.

@antoviaque
Created September 26, 2014 09:49
Show Gist options
  • Select an option

  • Save antoviaque/1e8241cede67e1b04ffc to your computer and use it in GitHub Desktop.

Select an option

Save antoviaque/1e8241cede67e1b04ffc to your computer and use it in GitHub Desktop.
edxapp@precise64:~/edx-platform$ paver test_python
---> pavelib.tests.test_python
---> pavelib.prereqs.install_prereqs
---> pavelib.prereqs.install_ruby_prereqs
Ruby prereqs unchanged, skipping...
---> pavelib.prereqs.install_node_prereqs
Node prereqs unchanged, skipping...
---> pavelib.prereqs.install_python_prereqs
rm -rf /edx/app/edxapp/venvs/edxapp/build/*
pip install -q --exists-action w -r requirements/edx/pre.txt
rm -rf /edx/app/edxapp/venvs/edxapp/build/*
pip install -q --exists-action w -r requirements/edx/github.txt
Could not find a tag or branch 'd89aae2a82f2b', assuming commit.
Could not find a tag or branch '88ec8a011e481918fdc9d2682d4017c835acd8be', assuming commit.
Could not find a tag or branch 'cd0b2b31997afccde519fe5b3365e61a9edb143f', assuming commit.
Could not find a tag or branch 'cccc3978ad2df82a78b6f9648fe2e9baddd22f88', assuming commit.
Could not find a tag or branch '776973740bdaad83a3b029f96e415a7d1e8bec2f', assuming commit.
Could not find a tag or branch 'd53fe0e81b623f084e91776bcf6369f8b7b63879', assuming commit.
Could not find a tag or branch '42cb1bb1dc680a60c6452e8bb2b843c2a0382c90', assuming commit.
Could not find a tag or branch '95e69341cebf5a6a9fbf7c4f5439d458898bdc3b', assuming commit.
Could not find a tag or branch 'f0112919e625ef037d1f0759ceb6ef7353cf367d', assuming commit.
Could not find a tag or branch '71f5c5616e2a73ae8cecd1ff2362774a773d3665', assuming commit.
Could not find a tag or branch '823a102e48', assuming commit.
Could not find a tag or branch '82b4e82d79b9d4c6d087ebbfa26ea23235728e62', assuming commit.
Could not find a tag or branch '7579d052afcf474ece1239153cffe1c89935bc4f', assuming commit.
Could not find a tag or branch '459aff7b63db8f2c5decd1755706c1a64fb4ebb1', assuming commit.
Could not find a tag or branch '5929789900b3d0a354ce7274bde74edfd0430f03', assuming commit.
rm -rf /edx/app/edxapp/venvs/edxapp/build/*
pip install -q --exists-action w -r requirements/edx/custom.txt
Could not find a tag or branch 'cc2026a4da325937a2e9a7ba8678b75ce4ef5b68', assuming commit.
Could not find a tag or branch '9b01df4bca8aca89d300850a357fb1647cbd3173', assuming commit.
Could not find a tag or branch 'eaa8dd4d934a374738fd7385fc636cbb99575c40', assuming commit.
Could not find a tag or branch '1e99a60c7f44c0c51f40b90069d911c61a35103b', assuming commit.
Could not find a tag or branch '10ededa58aab3f8893d98de36e2e5279890064bd', assuming commit.
Could not find a tag or branch '2b932de36e293bd08f6a59112daa9d6794a05c46', assuming commit.
Could not find a tag or branch '5b14678ca85856b4db2bb612b69047ec82c11efb', assuming commit.
Could not find a tag or branch '7b0b4fae3d1aeab665001a16f42782b9ef9f8ccd', assuming commit.
rm -rf /edx/app/edxapp/venvs/edxapp/build/*
pip install -q --exists-action w -r requirements/edx/local.txt
rm -rf /edx/app/edxapp/venvs/edxapp/build/*
pip install -q --exists-action w -r requirements/edx/base.txt
rm -rf /edx/app/edxapp/venvs/edxapp/build/*
pip install -q --exists-action w -r requirements/edx/post.txt
---> pavelib.utils.test.utils.clean_reports_dir
find /edx/app/edxapp/edx-platform/reports -type f -delete
Setting up for Python Tests
---> pavelib.utils.test.utils.clean_test_files
git clean -fqdx test_root/logs test_root/data test_root/staticfiles test_root/uploads
find . -type f -name "*.pyc" -delete
rm -rf test_root/log/auto_screenshots/*
Setting up for cms
---> pavelib.assets.update_assets
python manage.py cms --settings=test preprocess_assets
xmodule_assets common/static/xmodule
---> 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"`
sass --style compressed --sourcemap --cache-location /tmp/sass-cache --load-path ./common/static/sass --update -E utf-8 */static
python manage.py cms --settings=test collectstatic --noinput > /dev/null
python -m coverage run --rcfile=cms/.coveragerc `which ./manage.py` cms test --verbosity=1 cms/djangoapps/* common/djangoapps/* cms/lib/* --traceback --settings=test
========================================
Running tests for cms
========================================
nosetests cms/djangoapps/contentstore cms/djangoapps/course_creators cms/djangoapps/models common/djangoapps/cache_toolbox common/djangoapps/config_models common/djangoapps/contentserver common/djangoapps/cors_csrf common/djangoapps/coupons common/djangoapps/course_action_state common/djangoapps/course_groups common/djangoapps/course_modes common/djangoapps/dark_lang common/djangoapps/datadog common/djangoapps/django_comment_common common/djangoapps/django_future common/djangoapps/edxmako common/djangoapps/embargo common/djangoapps/external_auth common/djangoapps/geoinfo common/djangoapps/heartbeat common/djangoapps/lang_pref common/djangoapps/microsite_configuration common/djangoapps/mitxmako common/djangoapps/monitoring common/djangoapps/monkey_patch common/djangoapps/pipeline_js common/djangoapps/pipeline_mako common/djangoapps/profiler common/djangoapps/request_cache common/djangoapps/reverification common/djangoapps/service_status common/djangoapps/session_inactivity_timeout common/djangoapps/static_replace common/djangoapps/status common/djangoapps/student common/djangoapps/system_manager common/djangoapps/terrain common/djangoapps/third_party_auth common/djangoapps/track common/djangoapps/user_api common/djangoapps/util common/djangoapps/xmodule_django common/djangoapps/xmodule_modifiers.py common/djangoapps/xmodule_modifiers.pyc cms/lib/__init__.py cms/lib/xblock --id-file /edx/app/edxapp/edx-platform/.testids/cms/noseids --xunit-file /edx/app/edxapp/edx-platform/reports/cms/nosetests.xml --verbosity=1
Creating test database for alias 'default'...
.........------..............................................................
.............................................................................
.............................................................................
.............................................................................
..........-....-........-.....................-..............................
...........................----------------........................------....
.-----------------..----.----.-.--...........................................
....----------................----...........................................
......-....................-.---......--.....--------------------------------
---------------------.....................................-.........-........
.........--..............--..................................------..........
.......................-.............-.--....................................
............................................................................
-----------------------------------------------------------------------------
1000 tests run in 138.4 seconds.
150 skipped (850 tests passed)
Destroying test database for alias 'default'...
Cleaning up after cms
---> pavelib.utils.test.utils.clean_mongo
mongo /edx/app/edxapp/edx-platform/scripts/delete-mongo-test-dbs.js
MongoDB shell version: 2.4.7
connecting to: test
Dropping test db test_xcontent_d5618a7243f144d3bf557582f05fdb9a
Dropping test db test_xcontent_4cf236397bc7419db2836466b845d172
Dropping test db test_xcontent_473c0af92e6848c59c0446a74a162980
Dropping test db test_xcontent_54c3b293da344b6d8b6bcb79e5eb1a2f
Dropping test db test_xmodule
Setting up for lms
---> pavelib.assets.update_assets
python manage.py lms --settings=test preprocess_assets
xmodule_assets common/static/xmodule
---> 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"`
sass --style compressed --sourcemap --cache-location /tmp/sass-cache --load-path ./common/static/sass --update -E utf-8 */static
write lms/static/sass/application-extend1.css
write lms/static/sass/application-extend1.css.map
write lms/static/sass/application-extend2.css
write lms/static/sass/application-extend2.css.map
write lms/static/sass/application.css
write lms/static/sass/application.css.map
write lms/static/sass/course.css
write lms/static/sass/course.css.map
python manage.py lms --settings=test collectstatic --noinput > /dev/null
python -m coverage run --rcfile=lms/.coveragerc `which ./manage.py` lms test --verbosity=1 lms/djangoapps/* common/djangoapps/* lms/lib/* lms/tests.py --traceback --settings=test
========================================
Running tests for lms
========================================
nosetests lms/djangoapps/analytics lms/djangoapps/api_manager lms/djangoapps/branding lms/djangoapps/bulk_email lms/djangoapps/certificates lms/djangoapps/circuit lms/djangoapps/class_dashboard lms/djangoapps/course_wiki lms/djangoapps/courseware lms/djangoapps/dashboard lms/djangoapps/debug lms/djangoapps/django_comment_client lms/djangoapps/foldit lms/djangoapps/gradebook lms/djangoapps/instructor lms/djangoapps/instructor_analytics lms/djangoapps/instructor_task lms/djangoapps/licenses lms/djangoapps/linkedin lms/djangoapps/lms_migration lms/djangoapps/mobile_api lms/djangoapps/notes lms/djangoapps/notification_prefs lms/djangoapps/open_ended_grading lms/djangoapps/projects lms/djangoapps/psychometrics lms/djangoapps/shoppingcart lms/djangoapps/static_template_view lms/djangoapps/staticbook lms/djangoapps/verify_student common/djangoapps/cache_toolbox common/djangoapps/config_models common/djangoapps/contentserver common/djangoapps/cors_csrf common/djangoapps/coupons common/djangoapps/course_action_state common/djangoapps/course_groups common/djangoapps/course_modes common/djangoapps/dark_lang common/djangoapps/datadog common/djangoapps/django_comment_common common/djangoapps/django_future common/djangoapps/edxmako common/djangoapps/embargo common/djangoapps/external_auth common/djangoapps/geoinfo common/djangoapps/heartbeat common/djangoapps/lang_pref common/djangoapps/microsite_configuration common/djangoapps/mitxmako common/djangoapps/monitoring common/djangoapps/monkey_patch common/djangoapps/pipeline_js common/djangoapps/pipeline_mako common/djangoapps/profiler common/djangoapps/request_cache common/djangoapps/reverification common/djangoapps/service_status common/djangoapps/session_inactivity_timeout common/djangoapps/static_replace common/djangoapps/status common/djangoapps/student common/djangoapps/system_manager common/djangoapps/terrain common/djangoapps/third_party_auth common/djangoapps/track common/djangoapps/user_api common/djangoapps/util common/djangoapps/xmodule_django common/djangoapps/xmodule_modifiers.py common/djangoapps/xmodule_modifiers.pyc lms/lib/__init__.py lms/lib/__init__.pyc lms/lib/comment_client lms/lib/newrelic_logging lms/lib/perfstats lms/lib/xblock lms/tests.py --id-file /edx/app/edxapp/edx-platform/.testids/lms/noseids --xunit-file /edx/app/edxapp/edx-platform/reports/lms/nosetests.xml --verbosity=1
Creating test database for alias 'default'...
.............................................................................
.............................................................................
.............................................................................
.............................................................................
.............................................................................
.............................................................................
.............................................................................
.............................................................................
.............................................................................
.............................................................................
................................................../edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/db/models/fields/__init__.py:808: RuntimeWarning: DateTimeField received a naive datetime (1983-04-06 00:00:00) while time zone support is active.
RuntimeWarning)
../edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/db/models/fields/__init__.py:808: RuntimeWarning: DateTimeField received a naive datetime (2033-04-06 00:00:00) while time zone support is active.
RuntimeWarning)
.........................
.............................................................................
.............................................................................
.............................................................................
.............................................................................
.............................................................................
.............................................................................
.............................................................................
.............................................................................
.............................................................................
.............................................................................
...........-....-....-.-.....................................................
.............................................................................
.............................................................................
..................................................-.........-................
.--..............--..........................................................
.......-.....................................................................
.............................................................................
.....................
-----------------------------------------------------------------------------
2177 tests run in 756.6 seconds.
11 skipped (2166 tests passed)
Destroying test database for alias 'default'...
Cleaning up after lms
---> pavelib.utils.test.utils.clean_mongo
mongo /edx/app/edxapp/edx-platform/scripts/delete-mongo-test-dbs.js
MongoDB shell version: 2.4.7
connecting to: test
Dropping test db test_xmodule
Dropping test db test_xlog
Setting up for common/lib/sandbox-packages
python -m coverage run --rcfile=common/lib/sandbox-packages/.coveragerc `which nosetests` --id-file=/edx/app/edxapp/edx-platform/.testids/common/lib/sandbox-packages/noseids common/lib/sandbox-packages --with-xunit --xunit-file=/edx/app/edxapp/edx-platform/reports/common/lib/sandbox-packages/nosetests.xml --verbosity=1
========================================
Running tests for common/lib/sandbox-packages
========================================
.......................................................
-----------------------------------------------------------------------------
55 tests run in 0.2 seconds (55 tests passed)
Cleaning up after common/lib/sandbox-packages
---> pavelib.utils.test.utils.clean_mongo
mongo /edx/app/edxapp/edx-platform/scripts/delete-mongo-test-dbs.js
MongoDB shell version: 2.4.7
connecting to: test
Setting up for common/lib/safe_lxml
python -m coverage run --rcfile=common/lib/safe_lxml/.coveragerc `which nosetests` --id-file=/edx/app/edxapp/edx-platform/.testids/common/lib/safe_lxml/noseids common/lib/safe_lxml --with-xunit --xunit-file=/edx/app/edxapp/edx-platform/reports/common/lib/safe_lxml/nosetests.xml --verbosity=1
========================================
Running tests for common/lib/safe_lxml
========================================
-----------------------------------------------------------------------------
0 tests run in 0.0 seconds (0 tests passed)
Cleaning up after common/lib/safe_lxml
---> pavelib.utils.test.utils.clean_mongo
mongo /edx/app/edxapp/edx-platform/scripts/delete-mongo-test-dbs.js
MongoDB shell version: 2.4.7
connecting to: test
Setting up for common/lib/capa
python -m coverage run --rcfile=common/lib/capa/.coveragerc `which nosetests` --id-file=/edx/app/edxapp/edx-platform/.testids/common/lib/capa/noseids common/lib/capa --with-xunit --xunit-file=/edx/app/edxapp/edx-platform/reports/common/lib/capa/nosetests.xml --verbosity=1
========================================
Running tests for common/lib/capa
========================================
.............................................................................
.............................................................................
.............................................................................
..............................................
-----------------------------------------------------------------------------
277 tests run in 6.4 seconds (277 tests passed)
Cleaning up after common/lib/capa
---> pavelib.utils.test.utils.clean_mongo
mongo /edx/app/edxapp/edx-platform/scripts/delete-mongo-test-dbs.js
MongoDB shell version: 2.4.7
connecting to: test
Setting up for common/lib/symmath
python -m coverage run --rcfile=common/lib/symmath/.coveragerc `which nosetests` --id-file=/edx/app/edxapp/edx-platform/.testids/common/lib/symmath/noseids common/lib/symmath --with-xunit --xunit-file=/edx/app/edxapp/edx-platform/reports/common/lib/symmath/nosetests.xml --verbosity=1
========================================
Running tests for common/lib/symmath
========================================
.........
-----------------------------------------------------------------------------
9 tests run in 2.2 seconds (9 tests passed)
Cleaning up after common/lib/symmath
---> pavelib.utils.test.utils.clean_mongo
mongo /edx/app/edxapp/edx-platform/scripts/delete-mongo-test-dbs.js
MongoDB shell version: 2.4.7
connecting to: test
Setting up for common/lib/chem
python -m coverage run --rcfile=common/lib/chem/.coveragerc `which nosetests` --id-file=/edx/app/edxapp/edx-platform/.testids/common/lib/chem/noseids common/lib/chem --with-xunit --xunit-file=/edx/app/edxapp/edx-platform/reports/common/lib/chem/nosetests.xml --verbosity=1
========================================
Running tests for common/lib/chem
========================================
.............................................................................
.........
-----------------------------------------------------------------------------
86 tests run in 2.2 seconds (86 tests passed)
Cleaning up after common/lib/chem
---> pavelib.utils.test.utils.clean_mongo
mongo /edx/app/edxapp/edx-platform/scripts/delete-mongo-test-dbs.js
MongoDB shell version: 2.4.7
connecting to: test
Setting up for common/lib/xmodule
python -m coverage run --rcfile=common/lib/xmodule/.coveragerc `which nosetests` --id-file=/edx/app/edxapp/edx-platform/.testids/common/lib/xmodule/noseids common/lib/xmodule --with-xunit --xunit-file=/edx/app/edxapp/edx-platform/reports/common/lib/xmodule/nosetests.xml --verbosity=1
========================================
Running tests for common/lib/xmodule
========================================
.............................................................................
.............................................................................
.......................................-...-....-............................
.............................................................................
............-................................................................
.............................................................................
.............................................................................
.............................................................................
..............-----------------.-.-.........--------------...-.......-..-....
--------------................................................
-----------------------------------------------------------------------------
755 tests run in 44.4 seconds.
54 skipped (701 tests passed)
Cleaning up after common/lib/xmodule
---> pavelib.utils.test.utils.clean_mongo
mongo /edx/app/edxapp/edx-platform/scripts/delete-mongo-test-dbs.js
MongoDB shell version: 2.4.7
connecting to: test
Dropping test db test_xmodule
Setting up for common/lib/calc
python -m coverage run --rcfile=common/lib/calc/.coveragerc `which nosetests` --id-file=/edx/app/edxapp/edx-platform/.testids/common/lib/calc/noseids common/lib/calc --with-xunit --xunit-file=/edx/app/edxapp/edx-platform/reports/common/lib/calc/nosetests.xml --verbosity=1
========================================
Running tests for common/lib/calc
========================================
.......................................................
-----------------------------------------------------------------------------
55 tests run in 1.0 seconds (55 tests passed)
Cleaning up after common/lib/calc
---> pavelib.utils.test.utils.clean_mongo
mongo /edx/app/edxapp/edx-platform/scripts/delete-mongo-test-dbs.js
MongoDB shell version: 2.4.7
connecting to: test
Cleaning up after Python Tests
================================================
No test failures
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment