[p2pu-dev] Build failed in Hudson: lernanta #62

Lernanta Hudson hudson at coin.5cat.com
Sun Jun 19 12:46:31 UTC 2011


See <http://coin.5cat.com:8080/job/lernanta/62/changes>

Changes:

[Vladimir Támara Patiño] admindocs documented at https://docs.djangoproject.com/en/1.3/ref/contrib/admin/admindocs/

[Vladimir Támara Patiño] Model supports translations

[Vladimir Támara Patiño] Beginning of translations of static pages

[Vladimir Támara Patiño] logging

[Vladimir Támara Patiño] Look for page translated to current language

[Vladimir Támara Patiño] Look for page translated to current language

[Vladimir Támara Patiño] Translating

[Vladimir Támara Patiño] Translating

[Vladimir Támara Patiño] Privacy Guidelines in spanish

[Vladimir Támara Patiño] Preview button and preview area

------------------------------------------
[...truncated 588 lines...]
    
    Creating <http://coin.5cat.com:8080/job/lernanta/ws/.env/lib/python2.7/site-packages/django-push.egg-link> (link to src)
    django-push 0.3 is already the active version in easy-install.pth
    
    Installed <http://coin.5cat.com:8080/job/lernanta/ws/.env/src/django-push/src>
  Running setup.py develop for django-recaptcha
    
    Creating <http://coin.5cat.com:8080/job/lernanta/ws/.env/lib/python2.7/site-packages/django-recaptcha.egg-link> (link to .)
    django-recaptcha 0.0.1 is already the active version in easy-install.pth
    
    Installed <http://coin.5cat.com:8080/job/lernanta/ws/.env/src/django-recaptcha>
  Running setup.py install for docutils
    changing mode of build/scripts-2.7/rst2html.py from 644 to 755
    changing mode of build/scripts-2.7/rst2s5.py from 644 to 755
    changing mode of build/scripts-2.7/rst2latex.py from 644 to 755
    changing mode of build/scripts-2.7/rst2newlatex.py from 644 to 755
    changing mode of build/scripts-2.7/rst2man.py from 644 to 755
    changing mode of build/scripts-2.7/rst2xml.py from 644 to 755
    changing mode of build/scripts-2.7/rst2pseudoxml.py from 644 to 755
    changing mode of build/scripts-2.7/rstpep2html.py from 644 to 755
    changing mode of build/scripts-2.7/rst2odt.py from 644 to 755
    changing mode of build/scripts-2.7/rst2odt_prepstyles.py from 644 to 755
    
    warning: no files found matching 'MANIFEST'
    warning: no previously-included files matching '.cvsignore' found under directory '*'
    warning: no previously-included files matching '*.pyc' found under directory '*'
    warning: no previously-included files matching '*~' found under directory '*'
    warning: no previously-included files matching '.DS_Store' found under directory '*'
    changing mode of <http://coin.5cat.com:8080/job/lernanta/ws/.env/bin/rst2odt_prepstyles.py> to 755
    changing mode of <http://coin.5cat.com:8080/job/lernanta/ws/.env/bin/rst2newlatex.py> to 755
    changing mode of <http://coin.5cat.com:8080/job/lernanta/ws/.env/bin/rst2man.py> to 755
    changing mode of <http://coin.5cat.com:8080/job/lernanta/ws/.env/bin/rst2s5.py> to 755
    changing mode of <http://coin.5cat.com:8080/job/lernanta/ws/.env/bin/rstpep2html.py> to 755
    changing mode of <http://coin.5cat.com:8080/job/lernanta/ws/.env/bin/rst2odt.py> to 755
    changing mode of <http://coin.5cat.com:8080/job/lernanta/ws/.env/bin/rst2latex.py> to 755
    changing mode of <http://coin.5cat.com:8080/job/lernanta/ws/.env/bin/rst2html.py> to 755
    changing mode of <http://coin.5cat.com:8080/job/lernanta/ws/.env/bin/rst2xml.py> to 755
    changing mode of <http://coin.5cat.com:8080/job/lernanta/ws/.env/bin/rst2pseudoxml.py> to 755
  Running setup.py develop for python-xrd
    
    no previously-included directories found matching 'examples'
    Creating <http://coin.5cat.com:8080/job/lernanta/ws/.env/lib/python2.7/site-packages/django-cache-machine.egg-link> (link to .)
    django-cache-machine 0.4 is already the active version in easy-install.pth
    
    Installed <http://coin.5cat.com:8080/job/lernanta/ws/.env/src/python-xrd>
  Running setup.py develop for test-utils
    
    no previously-included directories found matching 'example-project'
    Creating <http://coin.5cat.com:8080/job/lernanta/ws/.env/lib/python2.7/site-packages/test-utils.egg-link> (link to .)
    test-utils 0.3 is already the active version in easy-install.pth
    
    Installed <http://coin.5cat.com:8080/job/lernanta/ws/.env/src/test-utils>
  Running setup.py develop for wellknown
    
    Creating <http://coin.5cat.com:8080/job/lernanta/ws/.env/lib/python2.7/site-packages/wellknown.egg-link> (link to .)
    wellknown 0.1dev is already the active version in easy-install.pth
    
    Installed <http://coin.5cat.com:8080/job/lernanta/ws/.env/src/wellknown>
  Running setup.py develop for xrd
    
    Creating <http://coin.5cat.com:8080/job/lernanta/ws/.env/lib/python2.7/site-packages/python-xrd.egg-link> (link to .)
    python-xrd 0.1 is already the active version in easy-install.pth
    
    Installed <http://coin.5cat.com:8080/job/lernanta/ws/.env/src/xrd>
Successfully installed commonware django-ckeditor django-debug-toolbar django-nose django-openid-auth django-push django-recaptcha docutils python-xrd test-utils wellknown xrd
Cleaning up...
[workspace] $ /bin/bash /tmp/hudson693533481100110444.sh
**> settings_local.py exists
[workspace] $ /bin/bash /tmp/hudson668459093089986584.sh
Skipping creation of NoticeTypes as notification app not found
Syncing...
Creating tables ...
Installing custom SQL ...
Installing indexes ...
No fixtures found.
Migrating...
Running migrations for users:
- Nothing to migrate.
 - Loading initial data for users.
No fixtures found.
Running migrations for search:
- Nothing to migrate.
 - Loading initial data for search.
No fixtures found.
Running migrations for l10n:
- Nothing to migrate.
 - Loading initial data for l10n.
No fixtures found.
Running migrations for dashboard:
- Nothing to migrate.
 - Loading initial data for dashboard.
No fixtures found.
Running migrations for relationships:
- Nothing to migrate.
 - Loading initial data for relationships.
No fixtures found.
Running migrations for activity:
- Nothing to migrate.
 - Loading initial data for activity.
No fixtures found.
Running migrations for projects:
- Nothing to migrate.
 - Loading initial data for projects.
No fixtures found.
Running migrations for statuses:
- Nothing to migrate.
 - Loading initial data for statuses.
No fixtures found.
Running migrations for preferences:
- Nothing to migrate.
 - Loading initial data for preferences.
No fixtures found.
Running migrations for drumbeatmail:
- Nothing to migrate.
 - Loading initial data for drumbeatmail.
No fixtures found.
Running migrations for links:
- Nothing to migrate.
 - Loading initial data for links.
No fixtures found.
Running migrations for challenges:
- Nothing to migrate.
 - Loading initial data for challenges.
Installed 11 object(s) from 1 fixture(s)
Running migrations for events:
- Nothing to migrate.
 - Loading initial data for events.
No fixtures found.
Running migrations for content:
- Nothing to migrate.
 - Loading initial data for content.
No fixtures found.
Running migrations for schools:
- Nothing to migrate.
 - Loading initial data for schools.
No fixtures found.
Running migrations for feeds:
- Nothing to migrate.
 - Loading initial data for feeds.
No fixtures found.
Running migrations for drumbeat:
- Nothing to migrate.
 - Loading initial data for drumbeat.
No fixtures found.
Running migrations for pages:
 - Migrating forwards to 0003_auto__add_field_page_language__add_field_page_updated__add_field_page_.
 > pages:0003_auto__add_field_page_language__add_field_page_updated__add_field_page_
 - Loading initial data for pages.
Installed 14 object(s) from 1 fixture(s)

Synced:
 > django.contrib.sites
 > django.contrib.auth
 > django.contrib.contenttypes
 > django.contrib.sessions
 > django.contrib.messages
 > django.contrib.admin
 > django.contrib.comments
 > django.contrib.redirects
 > south
 > wellknown
 > messages
 > taggit
 > django_push.subscriber
 > djcelery
 > django_openid_auth
 > voting
 > debug_toolbar

Migrated:
 - users
 - search
 - l10n
 - dashboard
 - relationships
 - activity
 - projects
 - statuses
 - preferences
 - drumbeatmail
 - links
 - challenges
 - events
 - content
 - schools
 - feeds
 - drumbeat
 - pages
Got an error creating the test database: (1007, "Can't create database 'test_lernanta'; database exists")
....................................E...E.
======================================================================
ERROR: test_check_username_uniqueness (workspace.apps.users.tests.TestLogins)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "<http://coin.5cat.com:8080/job/lernanta/ws/../workspace/apps/users/tests.py",> line 136, in test_check_username_uniqueness
    'username': self.test_username,
  File "<http://coin.5cat.com:8080/job/lernanta/ws/.env/lib/python2.7/site-packages/django/test/client.py",> line 445, in get
    response = super(Client, self).get(path, data=data, **extra)
  File "<http://coin.5cat.com:8080/job/lernanta/ws/.env/lib/python2.7/site-packages/django/test/client.py",> line 229, in get
    return self.request(**r)
  File "<http://coin.5cat.com:8080/job/lernanta/ws/.env/lib/python2.7/site-packages/django/core/handlers/base.py",> line 111, in get_response
    response = callback(request, *callback_args, **callback_kwargs)
  File "<http://coin.5cat.com:8080/job/lernanta/ws/apps/users/views.py",> line 645, in check_username
    f.clean(username)
  File "<http://coin.5cat.com:8080/job/lernanta/ws/apps/users/fields.py",> line 23, in clean
    if value in settings.INVALID_USERNAMES:
  File "<http://coin.5cat.com:8080/job/lernanta/ws/.env/lib/python2.7/site-packages/django/utils/functional.py",> line 277, in __getattr__
    return getattr(self._wrapped, name)
AttributeError: 'Settings' object has no attribute 'INVALID_USERNAMES'

======================================================================
ERROR: Ensure that users cannot register using usernames that would conflict
----------------------------------------------------------------------
Traceback (most recent call last):
  File "<http://coin.5cat.com:8080/job/lernanta/ws/../workspace/apps/users/tests.py",> line 129, in test_protected_usernames
    'preflang': 'en',
  File "<http://coin.5cat.com:8080/job/lernanta/ws/.env/lib/python2.7/site-packages/django/test/client.py",> line 455, in post
    response = super(Client, self).post(path, data=data, content_type=content_type, **extra)
  File "<http://coin.5cat.com:8080/job/lernanta/ws/.env/lib/python2.7/site-packages/django/test/client.py",> line 256, in post
    return self.request(**r)
  File "<http://coin.5cat.com:8080/job/lernanta/ws/.env/lib/python2.7/site-packages/django/core/handlers/base.py",> line 111, in get_response
    response = callback(request, *callback_args, **callback_kwargs)
  File "<http://coin.5cat.com:8080/job/lernanta/ws/apps/users/decorators.py",> line 27, in decorator
    return func(*args, **kwargs)
  File "<http://coin.5cat.com:8080/job/lernanta/ws/apps/users/views.py",> line 229, in register
    if form.is_valid():
  File "<http://coin.5cat.com:8080/job/lernanta/ws/.env/lib/python2.7/site-packages/django/forms/forms.py",> line 121, in is_valid
    return self.is_bound and not bool(self.errors)
  File "<http://coin.5cat.com:8080/job/lernanta/ws/.env/lib/python2.7/site-packages/django/forms/forms.py",> line 112, in _get_errors
    self.full_clean()
  File "<http://coin.5cat.com:8080/job/lernanta/ws/.env/lib/python2.7/site-packages/django/forms/forms.py",> line 267, in full_clean
    self._clean_fields()
  File "<http://coin.5cat.com:8080/job/lernanta/ws/.env/lib/python2.7/site-packages/django/forms/forms.py",> line 284, in _clean_fields
    value = field.clean(value)
  File "<http://coin.5cat.com:8080/job/lernanta/ws/apps/users/fields.py",> line 23, in clean
    if value in settings.INVALID_USERNAMES:
  File "<http://coin.5cat.com:8080/job/lernanta/ws/.env/lib/python2.7/site-packages/django/utils/functional.py",> line 277, in __getattr__
    return getattr(self._wrapped, name)
AttributeError: 'Settings' object has no attribute 'INVALID_USERNAMES'

----------------------------------------------------------------------
Ran 42 tests in 3.117s

FAILED (errors=2)
nosetests --verbosity 1 --with-xunit
Creating test database for alias 'default'...
Destroying old test database 'default'...
Skipping creation of NoticeTypes as notification app not found
Recording test results



More information about the p2pu-dev mailing list