Skip to content

Instantly share code, notes, and snippets.

@antoviaque
Created October 8, 2014 10:00
Show Gist options
  • Select an option

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

Select an option

Save antoviaque/de3aed7381656f5825a8 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'...
...........---...............................................................
.............................................................................
.............................................................................
......................................................................-......
....................................................................-....-...
.....-.........................................-.............................
...............................F...........................................--
-----------------------------.................-...............-------.....---
--------------..----.----.-.--...............................................
.----------..-.............------------------................................
...........................-....................-.---..----..-.------.---.---
--------------------------------------------------....--.....................
...............-.........-.................--..............--................
..................----...............................-.......................
.................-.--........................................................
................................................................
-----------------------------------------------------------------------------
1) FAIL: test_get_cohort (course_groups.tests.test_cohorts.TestCohorts)
Traceback (most recent call last):
common/djangoapps/course_groups/tests/test_cohorts.py line 151 in test_get_cohort
"Course isn't cohorted, so shouldn't have a cohort")
AssertionError: Course isn't cohorted, so shouldn't have a cohort
-------------------- >> begin captured logging << --------------------
xmodule.modulestore.xml: DEBUG: ========> Starting course import from 2014
xmodule.modulestore.xml: DEBUG: ========> Starting course import from 2014_Uni
xmodule.modulestore.xml: DEBUG: ========> Starting course import from conditional
xmodule.modulestore.xml: DEBUG: ========> Starting course import from conditional_and_poll
xmodule.modulestore.xml: DEBUG: ========> Starting course import from course_info_updates
xmodule.modulestore.xml: DEBUG: ========> Starting course import from dot-underscore
xmodule.modulestore.xml: DEBUG: ========> Starting course import from embedded_python
xmodule.modulestore.xml: DEBUG: ========> Starting course import from graded
xmodule.modulestore.xml: DEBUG: ========> Starting course import from graphic_slider_tool
xmodule.modulestore.xml: DEBUG: ========> Starting course import from import_draft_order
xmodule.modulestore.xml: DEBUG: ========> Starting course import from manual-testing-complete
xmodule.modulestore.xml: DEBUG: ========> Starting course import from open_ended
xmodule.modulestore.xml: DEBUG: ========> Starting course import from open_ended_nopath
xmodule.modulestore.xml: DEBUG: ========> Starting course import from pure_xblock
xmodule.modulestore.xml: DEBUG: ========> Starting course import from pure_xblock_draft
xmodule.modulestore.xml: DEBUG: ========> Starting course import from pure_xblock_public
xmodule.modulestore.xml: DEBUG: ========> Starting course import from self_assessment
xmodule.modulestore.xml: DEBUG: ========> Starting course import from simple
xmodule.modulestore.xml: DEBUG: ========> Starting course import from simple_with_draft
xmodule.modulestore.xml: DEBUG: ========> Starting course import from split_test_module
xmodule.modulestore.xml: DEBUG: ========> Starting course import from split_test_module_draft
xmodule.modulestore.xml: DEBUG: ========> Starting course import from test_about_blob_end_date
xmodule.modulestore.xml: DEBUG: ========> Starting course import from test_end
xmodule.modulestore.xml: DEBUG: ========> Starting course import from test_exam_registration
xmodule.modulestore.xml: DEBUG: ========> Starting course import from test_import_course
xmodule.modulestore.xml: DEBUG: ========> Starting course import from test_import_course_2
xmodule.modulestore.xml: DEBUG: ========> Starting course import from test_start_date
xmodule.modulestore.xml: DEBUG: ========> Starting course import from test_unicode
xmodule.modulestore.xml: DEBUG: ========> Starting course import from tilde
xmodule.modulestore.xml: DEBUG: ========> Starting course import from toy
root: WARNING: Deprecated. JSONifiable fields should derive from JSONField
root: WARNING: Deprecated. JSONifiable fields should derive from JSONField
root: WARNING: Deprecated. JSONifiable fields should derive from JSONField
root: WARNING: Deprecated. JSONifiable fields should derive from JSONField
root: WARNING: Deprecated. JSONifiable fields should derive from JSONField
root: WARNING: Deprecated. JSONifiable fields should derive from JSONField
root: WARNING: Deprecated. JSONifiable fields should derive from JSONField
root: WARNING: Deprecated. JSONifiable fields should derive from JSONField
root: WARNING: Deprecated. JSONifiable fields should derive from JSONField
root: WARNING: Deprecated. JSONifiable fields should derive from JSONField
root: WARNING: Deprecated. JSONifiable fields should derive from JSONField
root: WARNING: Deprecated. JSONifiable fields should derive from JSONField
root: WARNING: Deprecated. JSONifiable fields should derive from JSONField
root: WARNING: Deprecated. JSONifiable fields should derive from JSONField
root: WARNING: Deprecated. JSONifiable fields should derive from JSONField
root: WARNING: Deprecated. JSONifiable fields should derive from JSONField
root: WARNING: Deprecated. JSONifiable fields should derive from JSONField
root: WARNING: Deprecated. JSONifiable fields should derive from JSONField
xmodule.modulestore.xml: DEBUG: ========> Done with course import from toy
xmodule.modulestore.xml: DEBUG: ========> Starting course import from two_toys
xmodule.modulestore.xml: DEBUG: ========> Starting course import from word_cloud
--------------------- >> end captured logging << ---------------------
-----------------------------------------------------------------------------
1219 tests run in 189.6 seconds.
1 FAILED, 192 skipped (1026 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/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'...
.............................................................................
.............................................................................
.............................................................................
.............................................................................
.............................................................................
.............................................................................
.............................................................................
.............................................................................
.............................................................................
.............................................................................
.............................................................................
.............................................................................
.............................................................................
.............................................................................
.............................................................................
.............................................................................
.............................................................................
.............................................................................
.............................................................................
.............................................................................
.............................................................................
...................................................................F.........
.............................................................................
....-..............................................-....-....-.-.............
.............................................................................
.............................................................................
.............................................................................
.............--....................................-.........-...............
..--..............--.........................................................
.........-...................................................................
.............................................................................
............................................................
-----------------------------------------------------------------------------
1) FAIL: test_get_cohort (course_groups.tests.test_cohorts.TestCohorts)
Traceback (most recent call last):
common/djangoapps/course_groups/tests/test_cohorts.py line 151 in test_get_cohort
"Course isn't cohorted, so shouldn't have a cohort")
AssertionError: Course isn't cohorted, so shouldn't have a cohort
-------------------- >> begin captured logging << --------------------
xmodule.modulestore.xml: DEBUG: ========> Starting course import from 2014
xmodule.modulestore.xml: DEBUG: ========> Starting course import from 2014_Uni
xmodule.modulestore.xml: DEBUG: ========> Starting course import from conditional
xmodule.modulestore.xml: DEBUG: ========> Starting course import from conditional_and_poll
xmodule.modulestore.xml: DEBUG: ========> Starting course import from course_info_updates
xmodule.modulestore.xml: DEBUG: ========> Starting course import from dot-underscore
xmodule.modulestore.xml: DEBUG: ========> Starting course import from embedded_python
xmodule.modulestore.xml: DEBUG: ========> Starting course import from graded
xmodule.modulestore.xml: DEBUG: ========> Starting course import from graphic_slider_tool
xmodule.modulestore.xml: DEBUG: ========> Starting course import from import_draft_order
xmodule.modulestore.xml: DEBUG: ========> Starting course import from manual-testing-complete
xmodule.modulestore.xml: DEBUG: ========> Starting course import from open_ended
xmodule.modulestore.xml: DEBUG: ========> Starting course import from open_ended_nopath
xmodule.modulestore.xml: DEBUG: ========> Starting course import from pure_xblock
xmodule.modulestore.xml: DEBUG: ========> Starting course import from pure_xblock_draft
xmodule.modulestore.xml: DEBUG: ========> Starting course import from pure_xblock_public
xmodule.modulestore.xml: DEBUG: ========> Starting course import from self_assessment
xmodule.modulestore.xml: DEBUG: ========> Starting course import from simple
xmodule.modulestore.xml: DEBUG: ========> Starting course import from simple_with_draft
xmodule.modulestore.xml: DEBUG: ========> Starting course import from split_test_module
xmodule.modulestore.xml: DEBUG: ========> Starting course import from split_test_module_draft
xmodule.modulestore.xml: DEBUG: ========> Starting course import from test_about_blob_end_date
xmodule.modulestore.xml: DEBUG: ========> Starting course import from test_end
xmodule.modulestore.xml: DEBUG: ========> Starting course import from test_exam_registration
xmodule.modulestore.xml: DEBUG: ========> Starting course import from test_import_course
xmodule.modulestore.xml: DEBUG: ========> Starting course import from test_import_course_2
xmodule.modulestore.xml: DEBUG: ========> Starting course import from test_start_date
xmodule.modulestore.xml: DEBUG: ========> Starting course import from test_unicode
xmodule.modulestore.xml: DEBUG: ========> Starting course import from tilde
xmodule.modulestore.xml: DEBUG: ========> Starting course import from toy
root: WARNING: Deprecated. JSONifiable fields should derive from JSONField
root: WARNING: Deprecated. JSONifiable fields should derive from JSONField
root: WARNING: Deprecated. JSONifiable fields should derive from JSONField
root: WARNING: Deprecated. JSONifiable fields should derive from JSONField
root: WARNING: Deprecated. JSONifiable fields should derive from JSONField
root: WARNING: Deprecated. JSONifiable fields should derive from JSONField
root: WARNING: Deprecated. JSONifiable fields should derive from JSONField
root: WARNING: Deprecated. JSONifiable fields should derive from JSONField
root: WARNING: Deprecated. JSONifiable fields should derive from JSONField
root: WARNING: Deprecated. JSONifiable fields should derive from JSONField
root: WARNING: Deprecated. JSONifiable fields should derive from JSONField
root: WARNING: Deprecated. JSONifiable fields should derive from JSONField
root: WARNING: Deprecated. JSONifiable fields should derive from JSONField
root: WARNING: Deprecated. JSONifiable fields should derive from JSONField
root: WARNING: Deprecated. JSONifiable fields should derive from JSONField
root: WARNING: Deprecated. JSONifiable fields should derive from JSONField
root: WARNING: Deprecated. JSONifiable fields should derive from JSONField
root: WARNING: Deprecated. JSONifiable fields should derive from JSONField
xmodule.modulestore.xml: DEBUG: ========> Done with course import from toy
xmodule.modulestore.xml: DEBUG: ========> Starting course import from two_toys
xmodule.modulestore.xml: DEBUG: ========> Starting course import from word_cloud
--------------------- >> end captured logging << ---------------------
-----------------------------------------------------------------------------
2447 tests run in 970.5 seconds.
1 FAILED, 14 skipped (2432 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 7.2 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.1 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 3.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 128.0 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.1 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
================================================
Tests failed in the following suites:
* cms
* lms
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment