Skip to content

Instantly share code, notes, and snippets.

@antoviaque
Created August 7, 2014 15:54
Show Gist options
  • Select an option

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

Select an option

Save antoviaque/ecc723285ce551a36d1e 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
Python prereqs unchanged, skipping...
---> 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/pipeline_js common/djangoapps/pipeline_mako 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'...
.........------..............................................................
.............................................................................
.............................................................................
.............................................................................
..........-....-........-.....................-..............................
...........................----------------........................------....
.-----------------..----.----.-.--...........................................
....----------...............----............................................
.....-....................-.---......--.....---------------------------------
--------------------.....................................-.........-.........
........--..............--..................................------...........
......................-.............-.--.....................................
...........................................................................
-----------------------------------------------------------------------------
999 tests run in 131.2 seconds.
150 skipped (849 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_071093fbc17d40ce8b86cafc8b48b475
Dropping test db test_xcontent_ad52657bc8f64dd48f2d55a8e3f1eba8
Dropping test db test_xcontent_d810061467034f5cb77272f12d464d38
Dropping test db test_xcontent_7830cde8ae3248188d80a5a82733986d
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/instructor lms/djangoapps/instructor_task lms/djangoapps/licenses lms/djangoapps/linkedin lms/djangoapps/lms_migration 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/pipeline_js common/djangoapps/pipeline_mako 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)
.................................
.............................................................................
.............................................................................
.............................................................................
.............................................................................
.............................................................................
.............................................................................
.............................................................................
.............................................................................
.............................................................................
.......................................................................-....-
....-.-......................................................................
.............................................................................
.............................................................................
................................-.........-.................--..............-
-.................................................................-..........
.............................................................................
.............................................................................
...
-----------------------------------------------------------------------------
2159 tests run in 583.9 seconds.
11 skipped (2148 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.1 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/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.6 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 1.6 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.1 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 42.1 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