Migrated:
- adminaudit
- django_openid_auth
- reviewsapp
- clickreviews
Destroying test database for alias 'default' (':memory:')...
test_bzrlib_working_tree_and_branch_but_error (core.tests.test_preflight.TestGetBZRRevno) ... ok
test_no_branch_returns_none (core.tests.test_preflight.TestGetBZRRevno) ... ok
test_no_bzrlib_returns_none (core.tests.test_preflight.TestGetBZRRevno) ... ok
test_no_working_tree_returns_none (core.tests.test_preflight.TestGetBZRRevno) ... ok
test_success (core.tests.test_preflight.TestGetBZRRevno) ... ok
test_anonymous (core.tests.test_preflight.TestPreflight) ... ok
test_logged_in_no_group (core.tests.test_preflight.TestPreflight) ... ok
test_logged_in_wrong_group (core.tests.test_preflight.TestPreflight) ... ok
test_success (core.tests.test_preflight.TestPreflight) ... ok
test_strips_vary_headers_from_response (core.tests.test_api_decorators.DontVaryTestCase) ... ok
test_called_when_setting_disabled (core.tests.test_api_decorators.GzipContentTestCase)
Test gzip is not used when ENABLE_GZIP_CONTENT is False. ... ok
test_called_when_setting_enabled (core.tests.test_api_decorators.GzipContentTestCase)
Test gzip is used when ENABLE_GZIP_CONTENT is True. ... ok
test_decorated_function_called_with_args_when_disabled (core.tests.test_api_decorators.GzipContentTestCase)
Test gzip decorated function is called with all args. ... ok
test_decorated_function_called_with_args_when_enabled (core.tests.test_api_decorators.GzipContentTestCase)
Test gzip decorated function is called with all args. ... ok
test_adds_vary_headers_even_if_response_had_none (core.tests.test_api_decorators.VaryOnlyOnAcceptTestCase) ... ok
test_replaces_original_vary_headers_from_response (core.tests.test_api_decorators.VaryOnlyOnAcceptTestCase) ... ok
test_adds_vary_headers_even_if_response_had_none (core.tests.test_api_decorators.VaryOnlyOnHeadersTestCase) ... ok
test_replaces_original_vary_headers_from_response (core.tests.test_api_decorators.VaryOnlyOnHeadersTestCase) ... ok
test_strips_vary_headers_from_response (core.tests.test_api_decorators.VaryOnlyOnHeadersTestCase) ... ok
test_full_claimed_id (core.tests.test_utilities.FullClaimedIdTestCase)
Simple test to check that the right claimed_id is calculated ... ok
test_get_sca_publishings (core.tests.test_utilities.SCATestCase) ... ok
test_get_sca_publishings_cached (core.tests.test_utilities.SCATestCase) ... ok
test_retrieved_url (core.tests.test_utilities.SCATestCase) ... ok
test_sca_verify_packagename (core.tests.test_utilities.SCATestCase) ... ok
test_account_details (core.tests.test_utilities.SSOClientTestCase) ... ok
test_account_details_fail (core.tests.test_utilities.SSOClientTestCase) ... ok
test_validate_not_json (core.tests.test_utilities.SSOClientTestCase) ... ok
test_validate_request_failed (core.tests.test_utilities.SSOClientTestCase) ... ok
test_validate_request_not_ok (core.tests.test_utilities.SSOClientTestCase) ... ok
test_validate_request_ok (core.tests.test_utilities.SSOClientTestCase) ... ok
test_account_data_and_existing_user (core.tests.test_utilities.UpdateOrCreateUserFromOauthTestCase) ... FAIL
======================================================================
FAIL: test_account_data_and_existing_user (core.tests.test_utilities.UpdateOrCreateUserFromOauthTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/mnt/tarmac/cache/rnr-server/merges/trunk/src/core/tests/test_utilities.py", line 385, in test_account_data_and_existing_user
self.assertFalse(created)
AssertionError: True is not false
----------------------------------------------------------------------
Ran 31 tests in 0.874s
FAILED (failures=1)
Fatal error: local() encountered an error (return code 1) while executing 'virtualenv/bin/python django_project/manage.py test -v 2 --failfast src'
The attempt to merge lp:~fgallina/rnr-server/click-reviews-return-useroid-as-username into lp:rnr-server failed. Below is the output from the failed tests.
rm -rf ./virtualenv d;s/^rnr- server/ ./g;s/bazaar. isd/bazaar. launchpad. net/g' config-manager.txt > config- manager. txt.tmp config- manager/ cm.py update config- manager. txt.tmp bin/python ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ......done. ....... ....done. bin/pip install -r requirements.txt python2. 7/dist- packages (from -r requirements.txt (line 4)) unpacking django- factory= =0.11 (from -r requirements.txt (line 5)) factory- 0.11.tar. gz
sed -e '1,/# Dependencies/
/usr/lib/
Not deleting ./virtualenv/bin
New python executable in ./virtualenv/
Installing distribute.
Installing pip....
./virtualenv/
Requirement already satisfied (use --upgrade to upgrade): coverage in /usr/lib/
Downloading/
Downloading django_
Running setup.py egg_info for package django-factory
warning: no previously-included files matching '*.pyc' found anywhere in distribution python2. 7/dist- packages (from -r requirements.txt (line 6)) python2. 7/dist- packages (from -r requirements.txt (line 7)) python2. 7/dist- packages (from -r requirements.txt (line 8)) python2. 7/dist- packages (from -r requirements.txt (line 9)) python2. 7/dist- packages (from -r requirements.txt (line 10)) python2. 7/dist- packages (from -r requirements.txt (line 11)) unpacking wsgi-intercept= =0.5.1 (from -r requirements.txt (line 12))
Requirement already satisfied (use --upgrade to upgrade): mechanize in /usr/lib/
Requirement already satisfied (use --upgrade to upgrade): mock in /usr/lib/
Requirement already satisfied (use --upgrade to upgrade): paste==1.7.5.1 in /usr/lib/
Requirement already satisfied (use --upgrade to upgrade): pep8 in /usr/lib/
Requirement already satisfied (use --upgrade to upgrade): piston-mini-client in /usr/lib/
Requirement already satisfied (use --upgrade to upgrade): testtools in /usr/lib/
Downloading/
Running setup.py egg_info for package wsgi-intercept
Requirement already satisfied (use --upgrade to upgrade): django>=1.1 in /usr/lib/ python2. 7/dist- packages (from django- factory= =0.11-> -r requirements.txt (line 5))
Installing collected packages: django-factory, wsgi-intercept
Running setup.py install for django-factory
warning: no previously-included files matching '*.pyc' found anywhere in distribution
Running setup.py install for wsgi-intercept
Successfully installed django-factory wsgi-intercept bin/python django_ project/ manage. py test -v 2 --failfast src permissions user_permission s history _chg_field_ auditlog_ username_ _chg_field_ auditlog_ representation_ _. 0001_initial 0002_auto_ _chg_field_ auditlog_ username_ _chg_field_ auditlog_ representation_ _ openid_ auth:0001_ initial _del_consumer_ _del_token_ _del_nonce. 0001_initial 0002_add_ rnrsettings 0003_fix_ moderation_ mode 0004_add_ per_repo_ and_origin_ stats 0005_add_ blacklist_ setting 0006_add_ review_ app_name 0007_populate_ review_ app_name_ and_remove_ redundant_ software_ items 0007_populate_ review_ app_name_ and_remove_ redundant_ software_ items' is marked for no-dry-run. 0008_remove_ softwareitem_ app_name 0009_null_ reviewmoderatio nflag_user 0010_add_ review_ date_deleted 0011_histogram 0012_add_ review_ wilson_ rating 0013_add_ debversion_ field 0014_update_ rating_ field_with_ range 0015_softwareit em_packagename_ unique 0016_update_ permissions 0016_update_ permissions' is marked for no-dry-run. 0017_auto_ _del_consumer_ _del_token_ _del_nonce _del_field_ clickpackagerev iew_architectur e. 0001_initial 0002_auto_ _add_clickpacka gereviewflag_ _add_clickpacka gemoderation_ _add_clic 0003_auto_ _add_field_ clickpackagerev iew_arch_ tag 0004_populate_ clickpackagerev iew_arch_ tag 0004_populate_ clickpackagerev iew_arch_ tag' is marked for no-dry-run. 0005_auto_ _del_field_ clickpackagerev iew_architectur e
Cleaning up...
[localhost] local: virtualenv/
Creating test database for alias 'default' (':memory:')...
Syncing...
Creating tables ...
Creating table django_admin_log
Creating table auth_permission
Creating table auth_group_
Creating table auth_group
Creating table auth_user_groups
Creating table auth_user_
Creating table auth_user
Creating table django_content_type
Creating table django_session
Creating table django_site
Creating table south_migration
Creating table piston_nonce
Creating table piston_consumer
Creating table piston_token
Installing custom SQL ...
Installing indexes ...
Migrating...
Running migrations for adminaudit:
- Migrating forwards to 0002_auto_
> adminaudit:
> adminaudit:
Running migrations for django_openid_auth:
- Migrating forwards to 0001_initial.
> django_
Running migrations for reviewsapp:
- Migrating forwards to 0017_auto_
> reviewsapp:
> reviewsapp:
> reviewsapp:
> reviewsapp:
> reviewsapp:
> reviewsapp:
> reviewsapp:
- Migration 'reviewsapp:
> reviewsapp:
> reviewsapp:
> reviewsapp:
> reviewsapp:
> reviewsapp:
> reviewsapp:
> reviewsapp:
> reviewsapp:
> reviewsapp:
- Migration 'reviewsapp:
> reviewsapp:
Running migrations for clickreviews:
- Migrating forwards to 0005_auto_
> clickreviews:
> clickreviews:
> clickreviews:
> clickreviews:
- Migration 'clickreviews:
> clickreviews:
Synced: contrib. admin contrib. contenttypes contrib. sessions contrib. sites
> django.
> django.contrib.auth
> django.
> django.
> django.
> core
> south
> piston
> preflight
> pgtools
Migrated:
- adminaudit
- django_openid_auth
- reviewsapp
- clickreviews
Destroying test database for alias 'default' (':memory:')...
test_bzrlib_ working_ tree_and_ branch_ but_error (core.tests. test_preflight. TestGetBZRRevno ) ... ok branch_ returns_ none (core.tests. test_preflight. TestGetBZRRevno ) ... ok bzrlib_ returns_ none (core.tests. test_preflight. TestGetBZRRevno ) ... ok working_ tree_returns_ none (core.tests. test_preflight. TestGetBZRRevno ) ... ok test_preflight. TestGetBZRRevno ) ... ok test_preflight. TestPreflight) ... ok in_no_group (core.tests. test_preflight. TestPreflight) ... ok in_wrong_ group (core.tests. test_preflight. TestPreflight) ... ok test_preflight. TestPreflight) ... ok vary_headers_ from_response (core.tests. test_api_ decorators. DontVaryTestCas e) ... ok when_setting_ disabled (core.tests. test_api_ decorators. GzipContentTest Case) when_setting_ enabled (core.tests. test_api_ decorators. GzipContentTest Case) function_ called_ with_args_ when_disabled (core.tests. test_api_ decorators. GzipContentTest Case) function_ called_ with_args_ when_enabled (core.tests. test_api_ decorators. GzipContentTest Case) vary_headers_ even_if_ response_ had_none (core.tests. test_api_ decorators. VaryOnlyOnAccep tTestCase) ... ok original_ vary_headers_ from_response (core.tests. test_api_ decorators. VaryOnlyOnAccep tTestCase) ... ok vary_headers_ even_if_ response_ had_none (core.tests. test_api_ decorators. VaryOnlyOnHeade rsTestCase) ... ok original_ vary_headers_ from_response (core.tests. test_api_ decorators. VaryOnlyOnHeade rsTestCase) ... ok vary_headers_ from_response (core.tests. test_api_ decorators. VaryOnlyOnHeade rsTestCase) ... ok claimed_ id (core.tests. test_utilities. FullClaimedIdTe stCase) sca_publishings (core.tests. test_utilities. SCATestCase) ... ok sca_publishings _cached (core.tests. test_utilities. SCATestCase) ... ok test_utilities. SCATestCase) ... ok verify_ packagename (core.tests. test_utilities. SCATestCase) ... ok details (core.tests. test_utilities. SSOClientTestCa se) ... ok details_ fail (core.tests. test_utilities. SSOClientTestCa se) ... ok not_json (core.tests. test_utilities. SSOClientTestCa se) ... ok request_ failed (core.tests. test_utilities. SSOClientTestCa se) ... ok request_ not_ok (core.tests. test_utilities. SSOClientTestCa se) ... ok request_ ok (core.tests. test_utilities. SSOClientTestCa se) ... ok data_and_ existing_ user (core.tests. test_utilities. UpdateOrCreateU serFromOauthTes tCase) ... FAIL
test_no_
test_no_
test_no_
test_success (core.tests.
test_anonymous (core.tests.
test_logged_
test_logged_
test_success (core.tests.
test_strips_
test_called_
Test gzip is not used when ENABLE_GZIP_CONTENT is False. ... ok
test_called_
Test gzip is used when ENABLE_GZIP_CONTENT is True. ... ok
test_decorated_
Test gzip decorated function is called with all args. ... ok
test_decorated_
Test gzip decorated function is called with all args. ... ok
test_adds_
test_replaces_
test_adds_
test_replaces_
test_strips_
test_full_
Simple test to check that the right claimed_id is calculated ... ok
test_get_
test_get_
test_retrieved_url (core.tests.
test_sca_
test_account_
test_account_
test_validate_
test_validate_
test_validate_
test_validate_
test_account_
======= ======= ======= ======= ======= ======= ======= ======= ======= ======= data_and_ existing_ user (core.tests. test_utilities. UpdateOrCreateU serFromOauthTes tCase) ------- ------- ------- ------- ------- ------- ------- ------- ------- cache/rnr- server/ merges/ trunk/src/ core/tests/ test_utilities. py", line 385, in test_account_ data_and_ existing_ user assertFalse( created)
FAIL: test_account_
-------
Traceback (most recent call last):
File "/mnt/tarmac/
self.
AssertionError: True is not false
------- ------- ------- ------- ------- ------- ------- ------- ------- -------
Ran 31 tests in 0.874s
FAILED (failures=1)
Fatal error: local() encountered an error (return code 1) while executing 'virtualenv/ bin/python django_ project/ manage. py test -v 2 --failfast src'
Aborting.