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

James Tatum jtatum at gmail.com
Mon Jun 20 04:57:36 UTC 2011


OK, the system is now set to copy settings_local.dist.py over to
settings_local.py each time. That seems to have made the build go
green.

On Sun, Jun 19, 2011 at 9:24 PM, James Tatum <jtatum at gmail.com> wrote:
> Hi Zuzel,
>
> Here's the script it's running:
>
> ./manage.py syncdb --noinput --migrate
> FORCE_DB=True ./manage.py test --with-xunit --noinput
>
> I'll check the settings_local.py.
>
> On Sun, Jun 19, 2011 at 9:02 PM, zuzel.vp <zuzel.vp at gmail.com> wrote:
>> It looks like the CI server is not updating
>> http://coin.5cat.com:8080/job/lernanta/ws/settings_local.py/*view*/
>> based on http://coin.5cat.com:8080/job/lernanta/ws/settings_local.dist.py/*view*/
>> and the tests are ran without FORCE_DB=1
>>
>> --
>> Thanks,
>>    Zuzel
>>
>> On Sun, Jun 19, 2011 at 8:41 AM, Lernanta Hudson <hudson at coin.5cat.com> wrote:
>>> See <http://coin.5cat.com:8080/job/lernanta/61/changes>
>>>
>>> Changes:
>>>
>>> [Vladimir Támara Patiño] Translatable string and translation
>>>
>>> [Vladimir Támara Patiño] is_publish is boolean and database model of lernanta instead of drumbeat
>>>
>>> ------------------------------------------
>>> [...truncated 206 lines...]
>>>    commonware 0.2.4 is already the active version in easy-install.pth
>>>
>>>    Installed <http://coin.5cat.com:8080/job/lernanta/ws/.env/src/commonware>
>>>  Running setup.py develop for django-ckeditor
>>>
>>>    Creating <http://coin.5cat.com:8080/job/lernanta/ws/.env/lib/python2.7/site-packages/django-ckeditor.egg-link> (link to .)
>>>    django-ckeditor 0.0.9 is already the active version in easy-install.pth
>>>
>>>    Installed <http://coin.5cat.com:8080/job/lernanta/ws/.env/src/django-ckeditor>
>>>  Running setup.py develop for django-debug-toolbar
>>>
>>>    Creating <http://coin.5cat.com:8080/job/lernanta/ws/.env/lib/python2.7/site-packages/django-debug-toolbar.egg-link> (link to .)
>>>    django-debug-toolbar 0.8.5 is already the active version in easy-install.pth
>>>
>>>    Installed <http://coin.5cat.com:8080/job/lernanta/ws/.env/src/django-debug-toolbar>
>>>  Running setup.py develop for django-nose
>>>
>>>    Creating <http://coin.5cat.com:8080/job/lernanta/ws/.env/lib/python2.7/site-packages/django-nose.egg-link> (link to .)
>>>    django-nose 0.1.3 is already the active version in easy-install.pth
>>>
>>>    Installed <http://coin.5cat.com:8080/job/lernanta/ws/.env/src/django-nose>
>>>  Running setup.py develop for django-openid-auth
>>>
>>>    Creating <http://coin.5cat.com:8080/job/lernanta/ws/.env/lib/python2.7/site-packages/django-openid-auth.egg-link> (link to .)
>>>    django-openid-auth 0.3 is already the active version in easy-install.pth
>>>
>>>    Installed <http://coin.5cat.com:8080/job/lernanta/ws/.env/src/django-openid-auth>
>>>  Running setup.py develop for django-push
>>>
>>>    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 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 python-xrd test-utils wellknown xrd
>>> Cleaning up...
>>> [workspace] $ /bin/bash /tmp/hudson4335698583097218600.sh
>>> **> settings_local.py exists
>>> [workspace] $ /bin/bash /tmp/hudson364358550907597154.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:
>>> - Nothing to migrate.
>>>  - Loading initial data for pages.
>>> Installed 7 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.130s
>>>
>>> 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
>>>
>>> _______________________________________________
>>> p2pu-dev mailing list
>>> p2pu-dev at lists.p2pu.org
>>> http://lists.p2pu.org/mailman/listinfo/p2pu-dev
>>>
>> _______________________________________________
>> p2pu-dev mailing list
>> p2pu-dev at lists.p2pu.org
>> http://lists.p2pu.org/mailman/listinfo/p2pu-dev
>>
>


More information about the p2pu-dev mailing list