Skip to content

Instantly share code, notes, and snippets.

@antoviaque
Created October 8, 2014 16:41
Show Gist options
  • Select an option

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

Select an option

Save antoviaque/70acc396415b9a4ade0c 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/*
rm -rf /tmp/mako_[cl]ms
Setting up for cms
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 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'...
...........---...............................................................
.............................................................................
.............................................................................
......................................................................-......
....................................................................-....-...
.....-.........................................-.............................
...........................................................................--
-----------------------------.................-...............-------.....---
--------------..----.----.-.--...............................................
.----------..-.............------------------................................
...........................-....................-.---..----..-.------.---.---
--------------------------------------------------....--.....................
...............-.........-.................--..............--................
..................----...............................-.......................
.................-.--........................................................
................................................................
-----------------------------------------------------------------------------
1219 tests run in 186.5 seconds.
192 skipped (1027 tests passed)
Destroying test database for alias 'default'...
Cleaning up after cms
---> pavelib.utils.test.utils.clean_mongo
mongo localhost:27017 /edx/app/edxapp/edx-platform/scripts/delete-mongo-test-dbs.js
MongoDB shell version: 2.4.11
connecting to: localhost:27017/test
Setting up for lms
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/notifier_api 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'...
.............................................................................
.............................................................................
.............................................................................
.............................................................................
.............................................................................
.............................................................................
.............................................................................
.............................................................................
.............................................................................
.............................................................................
.............................................................................
.............................................................................
.............................................................................
.............................................................................
.............................................................................
.............................................................................
.............................................................................
.............................................................................
.............................................................................
.............................................................................
.............................................................................
.............................................................................
.............................................................................
....-..............................................-....-....-.-.............
.............................................................................
.............................................................................
.............................................................................
.............--....................................-.........-...............
..--..............--.........................................................
.........-...................................................................
.............................................................................
............................................................
-----------------------------------------------------------------------------
2447 tests run in 851.8 seconds.
14 skipped (2433 tests passed)
Destroying test database for alias 'default'...
Cleaning up after lms
---> pavelib.utils.test.utils.clean_mongo
mongo localhost:27017 /edx/app/edxapp/edx-platform/scripts/delete-mongo-test-dbs.js
MongoDB shell version: 2.4.11
connecting to: localhost:27017/test
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 localhost:27017 /edx/app/edxapp/edx-platform/scripts/delete-mongo-test-dbs.js
MongoDB shell version: 2.4.11
connecting to: localhost:27017/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 localhost:27017 /edx/app/edxapp/edx-platform/scripts/delete-mongo-test-dbs.js
MongoDB shell version: 2.4.11
connecting to: localhost:27017/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.3 seconds (277 tests passed)
Cleaning up after common/lib/capa
---> pavelib.utils.test.utils.clean_mongo
mongo localhost:27017 /edx/app/edxapp/edx-platform/scripts/delete-mongo-test-dbs.js
MongoDB shell version: 2.4.11
connecting to: localhost:27017/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 localhost:27017 /edx/app/edxapp/edx-platform/scripts/delete-mongo-test-dbs.js
MongoDB shell version: 2.4.11
connecting to: localhost:27017/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 localhost:27017 /edx/app/edxapp/edx-platform/scripts/delete-mongo-test-dbs.js
MongoDB shell version: 2.4.11
connecting to: localhost:27017/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
========================================
.............................................................................
.............................................................................
.............................................................................
.............................................................................
.............................................................................
.-...-....-..................................................................
......................................................-......................
.............................................................................
.............................................................................
.............................................................................
............................................................-----------------
.-.-.........--------------.....-......-..-...--------------.................
...............................
-----------------------------------------------------------------------------
955 tests run in 109.4 seconds.
54 skipped (901 tests passed)
Cleaning up after common/lib/xmodule
---> pavelib.utils.test.utils.clean_mongo
mongo localhost:27017 /edx/app/edxapp/edx-platform/scripts/delete-mongo-test-dbs.js
MongoDB shell version: 2.4.11
connecting to: localhost:27017/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 localhost:27017 /edx/app/edxapp/edx-platform/scripts/delete-mongo-test-dbs.js
MongoDB shell version: 2.4.11
connecting to: localhost:27017/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