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

Jessica Ledbetter jessica at jessicaledbetter.com
Mon Jul 4 05:24:03 UTC 2011


Is Hudson missing something? Looks like an import error. I'm on a train but
can check when I get to the house in a bit hopefully.

On Sun, Jul 3, 2011 at 10:01 PM, Lernanta Hudson <hudson at coin.5cat.com>wrote:

> See <http://coin.5cat.com:8080/job/lernanta/94/changes>
>
> Changes:
>
> [Zuzel Vera] Removing status message from home page feed.
>
> ------------------------------------------
> [...truncated 1629 lines...]
>    admin.autodiscover()
>  File "<
> http://coin.5cat.com:8080/job/lernanta/ws/.env/lib/python2.7/site-packages/django/contrib/admin/__init__.py",>
> line 26, in autodiscover
>    import_module('%s.admin' % app)
>  File "<
> http://coin.5cat.com:8080/job/lernanta/ws/.env/lib/python2.7/site-packages/django/utils/importlib.py",>
> line 35, in import_module
>    __import__(name)
>  File "<
> http://coin.5cat.com:8080/job/lernanta/ws/.env/lib/python2.7/site-packages/djcelery/admin.py",>
> line 310, in <module>
>    class PeriodicTaskAdmin(admin.ModelAdmin):
>  File "<
> http://coin.5cat.com:8080/job/lernanta/ws/.env/lib/python2.7/site-packages/djcelery/admin.py",>
> line 312, in PeriodicTaskAdmin
>    form = periodic_task_form()
>  File "<
> http://coin.5cat.com:8080/job/lernanta/ws/.env/lib/python2.7/site-packages/djcelery/admin.py",>
> line 283, in periodic_task_form
>    loaders.autodiscover()
>  File "<
> http://coin.5cat.com:8080/job/lernanta/ws/.env/lib/python2.7/site-packages/djcelery/loaders.py",>
> line 104, in autodiscover
>    for app in settings.INSTALLED_APPS])
>  File "<
> http://coin.5cat.com:8080/job/lernanta/ws/.env/lib/python2.7/site-packages/djcelery/loaders.py",>
> line 123, in find_related_module
>    module = importlib.import_module("%s.%s" % (app, related_name))
>  File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module
>    __import__(name)
>  File "<http://coin.5cat.com:8080/job/lernanta/ws/apps/dashboard/tasks.py",>
> line 14, in <module>
> ImportError: cannot import name FeedEntry
> -------------------- >> begin captured logging << --------------------
> users.backends: DEBUG: Attempting to authenticate drupal user testuser
> users.backends: DEBUG: Drupal user does not exist: testuser
> users.backends: DEBUG: Attempting to authenticate user testuser
> --------------------- >> end captured logging << ---------------------
>
> ======================================================================
> 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/test/client.py",>
> line 387, in request
>    response = self.handler(environ)
>  File "<
> http://coin.5cat.com:8080/job/lernanta/ws/.env/lib/python2.7/site-packages/django/test/client.py",>
> line 84, in __call__
>    response = self.get_response(request)
>  File "<
> http://coin.5cat.com:8080/job/lernanta/ws/.env/lib/python2.7/site-packages/django/core/handlers/base.py",>
> line 169, in get_response
>    response = self.handle_uncaught_exception(request, resolver,
> sys.exc_info())
>  File "<
> http://coin.5cat.com:8080/job/lernanta/ws/.env/lib/python2.7/site-packages/django/core/handlers/base.py",>
> line 214, in handle_uncaught_exception
>    if resolver.urlconf_module is None:
>  File "<
> http://coin.5cat.com:8080/job/lernanta/ws/.env/lib/python2.7/site-packages/django/core/urlresolvers.py",>
> line 274, in _get_urlconf_module
>    self._urlconf_module = import_module(self.urlconf_name)
>  File "<
> http://coin.5cat.com:8080/job/lernanta/ws/.env/lib/python2.7/site-packages/django/utils/importlib.py",>
> line 35, in import_module
>    __import__(name)
>  File "<http://coin.5cat.com:8080/job/lernanta/ws/urls.py",> line 5, in
> <module>
>    admin.autodiscover()
>  File "<
> http://coin.5cat.com:8080/job/lernanta/ws/.env/lib/python2.7/site-packages/django/contrib/admin/__init__.py",>
> line 26, in autodiscover
>    import_module('%s.admin' % app)
>  File "<
> http://coin.5cat.com:8080/job/lernanta/ws/.env/lib/python2.7/site-packages/django/utils/importlib.py",>
> line 35, in import_module
>    __import__(name)
>  File "<
> http://coin.5cat.com:8080/job/lernanta/ws/.env/lib/python2.7/site-packages/djcelery/admin.py",>
> line 310, in <module>
>    class PeriodicTaskAdmin(admin.ModelAdmin):
>  File "<
> http://coin.5cat.com:8080/job/lernanta/ws/.env/lib/python2.7/site-packages/djcelery/admin.py",>
> line 312, in PeriodicTaskAdmin
>    form = periodic_task_form()
>  File "<
> http://coin.5cat.com:8080/job/lernanta/ws/.env/lib/python2.7/site-packages/djcelery/admin.py",>
> line 283, in periodic_task_form
>    loaders.autodiscover()
>  File "<
> http://coin.5cat.com:8080/job/lernanta/ws/.env/lib/python2.7/site-packages/djcelery/loaders.py",>
> line 104, in autodiscover
>    for app in settings.INSTALLED_APPS])
>  File "<
> http://coin.5cat.com:8080/job/lernanta/ws/.env/lib/python2.7/site-packages/djcelery/loaders.py",>
> line 123, in find_related_module
>    module = importlib.import_module("%s.%s" % (app, related_name))
>  File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module
>    __import__(name)
>  File "<http://coin.5cat.com:8080/job/lernanta/ws/apps/dashboard/tasks.py",>
> line 14, in <module>
> ImportError: cannot import name FeedEntry
>
> ======================================================================
> ERROR: Test logging in.
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>  File "<
> http://coin.5cat.com:8080/job/lernanta/ws/../workspace/apps/users/tests.py",>
> line 66, in test_login_post
>    'password': self.test_password,
>  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/test/client.py",>
> line 387, in request
>    response = self.handler(environ)
>  File "<
> http://coin.5cat.com:8080/job/lernanta/ws/.env/lib/python2.7/site-packages/django/test/client.py",>
> line 84, in __call__
>    response = self.get_response(request)
>  File "<
> http://coin.5cat.com:8080/job/lernanta/ws/.env/lib/python2.7/site-packages/django/core/handlers/base.py",>
> line 169, in get_response
>    response = self.handle_uncaught_exception(request, resolver,
> sys.exc_info())
>  File "<
> http://coin.5cat.com:8080/job/lernanta/ws/.env/lib/python2.7/site-packages/django/core/handlers/base.py",>
> line 214, in handle_uncaught_exception
>    if resolver.urlconf_module is None:
>  File "<
> http://coin.5cat.com:8080/job/lernanta/ws/.env/lib/python2.7/site-packages/django/core/urlresolvers.py",>
> line 274, in _get_urlconf_module
>    self._urlconf_module = import_module(self.urlconf_name)
>  File "<
> http://coin.5cat.com:8080/job/lernanta/ws/.env/lib/python2.7/site-packages/django/utils/importlib.py",>
> line 35, in import_module
>    __import__(name)
>  File "<http://coin.5cat.com:8080/job/lernanta/ws/urls.py",> line 5, in
> <module>
>    admin.autodiscover()
>  File "<
> http://coin.5cat.com:8080/job/lernanta/ws/.env/lib/python2.7/site-packages/django/contrib/admin/__init__.py",>
> line 26, in autodiscover
>    import_module('%s.admin' % app)
>  File "<
> http://coin.5cat.com:8080/job/lernanta/ws/.env/lib/python2.7/site-packages/django/utils/importlib.py",>
> line 35, in import_module
>    __import__(name)
>  File "<
> http://coin.5cat.com:8080/job/lernanta/ws/.env/lib/python2.7/site-packages/djcelery/admin.py",>
> line 310, in <module>
>    class PeriodicTaskAdmin(admin.ModelAdmin):
>  File "<
> http://coin.5cat.com:8080/job/lernanta/ws/.env/lib/python2.7/site-packages/djcelery/admin.py",>
> line 312, in PeriodicTaskAdmin
>    form = periodic_task_form()
>  File "<
> http://coin.5cat.com:8080/job/lernanta/ws/.env/lib/python2.7/site-packages/djcelery/admin.py",>
> line 283, in periodic_task_form
>    loaders.autodiscover()
>  File "<
> http://coin.5cat.com:8080/job/lernanta/ws/.env/lib/python2.7/site-packages/djcelery/loaders.py",>
> line 104, in autodiscover
>    for app in settings.INSTALLED_APPS])
>  File "<
> http://coin.5cat.com:8080/job/lernanta/ws/.env/lib/python2.7/site-packages/djcelery/loaders.py",>
> line 123, in find_related_module
>    module = importlib.import_module("%s.%s" % (app, related_name))
>  File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module
>    __import__(name)
>  File "<http://coin.5cat.com:8080/job/lernanta/ws/apps/dashboard/tasks.py",>
> line 14, in <module>
> ImportError: cannot import name FeedEntry
>
> ======================================================================
> ERROR: Test that user is redirected properly after logging in.
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>  File "<
> http://coin.5cat.com:8080/job/lernanta/ws/../workspace/apps/users/tests.py",>
> line 88, in test_login_redirect_param
>    'password': self.test_password,
>  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/test/client.py",>
> line 387, in request
>    response = self.handler(environ)
>  File "<
> http://coin.5cat.com:8080/job/lernanta/ws/.env/lib/python2.7/site-packages/django/test/client.py",>
> line 84, in __call__
>    response = self.get_response(request)
>  File "<
> http://coin.5cat.com:8080/job/lernanta/ws/.env/lib/python2.7/site-packages/django/core/handlers/base.py",>
> line 169, in get_response
>    response = self.handle_uncaught_exception(request, resolver,
> sys.exc_info())
>  File "<
> http://coin.5cat.com:8080/job/lernanta/ws/.env/lib/python2.7/site-packages/django/core/handlers/base.py",>
> line 214, in handle_uncaught_exception
>    if resolver.urlconf_module is None:
>  File "<
> http://coin.5cat.com:8080/job/lernanta/ws/.env/lib/python2.7/site-packages/django/core/urlresolvers.py",>
> line 274, in _get_urlconf_module
>    self._urlconf_module = import_module(self.urlconf_name)
>  File "<
> http://coin.5cat.com:8080/job/lernanta/ws/.env/lib/python2.7/site-packages/django/utils/importlib.py",>
> line 35, in import_module
>    __import__(name)
>  File "<http://coin.5cat.com:8080/job/lernanta/ws/urls.py",> line 5, in
> <module>
>    admin.autodiscover()
>  File "<
> http://coin.5cat.com:8080/job/lernanta/ws/.env/lib/python2.7/site-packages/django/contrib/admin/__init__.py",>
> line 26, in autodiscover
>    import_module('%s.admin' % app)
>  File "<
> http://coin.5cat.com:8080/job/lernanta/ws/.env/lib/python2.7/site-packages/django/utils/importlib.py",>
> line 35, in import_module
>    __import__(name)
>  File "<
> http://coin.5cat.com:8080/job/lernanta/ws/.env/lib/python2.7/site-packages/djcelery/admin.py",>
> line 310, in <module>
>    class PeriodicTaskAdmin(admin.ModelAdmin):
>  File "<
> http://coin.5cat.com:8080/job/lernanta/ws/.env/lib/python2.7/site-packages/djcelery/admin.py",>
> line 312, in PeriodicTaskAdmin
>    form = periodic_task_form()
>  File "<
> http://coin.5cat.com:8080/job/lernanta/ws/.env/lib/python2.7/site-packages/djcelery/admin.py",>
> line 283, in periodic_task_form
>    loaders.autodiscover()
>  File "<
> http://coin.5cat.com:8080/job/lernanta/ws/.env/lib/python2.7/site-packages/djcelery/loaders.py",>
> line 104, in autodiscover
>    for app in settings.INSTALLED_APPS])
>  File "<
> http://coin.5cat.com:8080/job/lernanta/ws/.env/lib/python2.7/site-packages/djcelery/loaders.py",>
> line 123, in find_related_module
>    module = importlib.import_module("%s.%s" % (app, related_name))
>  File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module
>    __import__(name)
>  File "<http://coin.5cat.com:8080/job/lernanta/ws/apps/dashboard/tasks.py",>
> line 14, in <module>
> ImportError: cannot import name FeedEntry
>
> ======================================================================
> 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 113, in test_protected_usernames
>    path = reverse('users_register')
>  File "<
> http://coin.5cat.com:8080/job/lernanta/ws/apps/l10n/urlresolvers.py",>
> line 33, in reverse
>    url = django_reverse(viewname, urlconf, args, kwargs, prefix,
> current_app)
>  File "<
> http://coin.5cat.com:8080/job/lernanta/ws/.env/lib/python2.7/site-packages/django/core/urlresolvers.py",>
> line 391, in reverse
>    *args, **kwargs)))
>  File "<
> http://coin.5cat.com:8080/job/lernanta/ws/.env/lib/python2.7/site-packages/django/core/urlresolvers.py",>
> line 312, in reverse
>    possibilities = self.reverse_dict.getlist(lookup_view)
>  File "<
> http://coin.5cat.com:8080/job/lernanta/ws/.env/lib/python2.7/site-packages/django/core/urlresolvers.py",>
> line 229, in _get_reverse_dict
>    self._populate()
>  File "<
> http://coin.5cat.com:8080/job/lernanta/ws/.env/lib/python2.7/site-packages/django/core/urlresolvers.py",>
> line 197, in _populate
>    for pattern in reversed(self.url_patterns):
>  File "<
> http://coin.5cat.com:8080/job/lernanta/ws/.env/lib/python2.7/site-packages/django/core/urlresolvers.py",>
> line 279, in _get_url_patterns
>    patterns = getattr(self.urlconf_module, "urlpatterns",
> self.urlconf_module)
>  File "<
> http://coin.5cat.com:8080/job/lernanta/ws/.env/lib/python2.7/site-packages/django/core/urlresolvers.py",>
> line 274, in _get_urlconf_module
>    self._urlconf_module = import_module(self.urlconf_name)
>  File "<
> http://coin.5cat.com:8080/job/lernanta/ws/.env/lib/python2.7/site-packages/django/utils/importlib.py",>
> line 35, in import_module
>    __import__(name)
>  File "<http://coin.5cat.com:8080/job/lernanta/ws/urls.py",> line 5, in
> <module>
>    admin.autodiscover()
>  File "<
> http://coin.5cat.com:8080/job/lernanta/ws/.env/lib/python2.7/site-packages/django/contrib/admin/__init__.py",>
> line 26, in autodiscover
>    import_module('%s.admin' % app)
>  File "<
> http://coin.5cat.com:8080/job/lernanta/ws/.env/lib/python2.7/site-packages/django/utils/importlib.py",>
> line 35, in import_module
>    __import__(name)
>  File "<
> http://coin.5cat.com:8080/job/lernanta/ws/.env/lib/python2.7/site-packages/djcelery/admin.py",>
> line 310, in <module>
>    class PeriodicTaskAdmin(admin.ModelAdmin):
>  File "<
> http://coin.5cat.com:8080/job/lernanta/ws/.env/lib/python2.7/site-packages/djcelery/admin.py",>
> line 312, in PeriodicTaskAdmin
>    form = periodic_task_form()
>  File "<
> http://coin.5cat.com:8080/job/lernanta/ws/.env/lib/python2.7/site-packages/djcelery/admin.py",>
> line 283, in periodic_task_form
>    loaders.autodiscover()
>  File "<
> http://coin.5cat.com:8080/job/lernanta/ws/.env/lib/python2.7/site-packages/djcelery/loaders.py",>
> line 104, in autodiscover
>    for app in settings.INSTALLED_APPS])
>  File "<
> http://coin.5cat.com:8080/job/lernanta/ws/.env/lib/python2.7/site-packages/djcelery/loaders.py",>
> line 123, in find_related_module
>    module = importlib.import_module("%s.%s" % (app, related_name))
>  File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module
>    __import__(name)
>  File "<http://coin.5cat.com:8080/job/lernanta/ws/apps/dashboard/tasks.py",>
> line 14, in <module>
> ImportError: cannot import name FeedEntry
>
> ======================================================================
> ERROR: Test that anonymous users are redirected for specific views.
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>  File "<
> http://coin.5cat.com:8080/job/lernanta/ws/../workspace/apps/users/tests.py",>
> line 55, in test_unauthenticated_redirects
>    response = self.client.get(full)
>  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/test/client.py",>
> line 387, in request
>    response = self.handler(environ)
>  File "<
> http://coin.5cat.com:8080/job/lernanta/ws/.env/lib/python2.7/site-packages/django/test/client.py",>
> line 84, in __call__
>    response = self.get_response(request)
>  File "<
> http://coin.5cat.com:8080/job/lernanta/ws/.env/lib/python2.7/site-packages/django/core/handlers/base.py",>
> line 169, in get_response
>    response = self.handle_uncaught_exception(request, resolver,
> sys.exc_info())
>  File "<
> http://coin.5cat.com:8080/job/lernanta/ws/.env/lib/python2.7/site-packages/django/core/handlers/base.py",>
> line 214, in handle_uncaught_exception
>    if resolver.urlconf_module is None:
>  File "<
> http://coin.5cat.com:8080/job/lernanta/ws/.env/lib/python2.7/site-packages/django/core/urlresolvers.py",>
> line 274, in _get_urlconf_module
>    self._urlconf_module = import_module(self.urlconf_name)
>  File "<
> http://coin.5cat.com:8080/job/lernanta/ws/.env/lib/python2.7/site-packages/django/utils/importlib.py",>
> line 35, in import_module
>    __import__(name)
>  File "<http://coin.5cat.com:8080/job/lernanta/ws/urls.py",> line 5, in
> <module>
>    admin.autodiscover()
>  File "<
> http://coin.5cat.com:8080/job/lernanta/ws/.env/lib/python2.7/site-packages/django/contrib/admin/__init__.py",>
> line 26, in autodiscover
>    import_module('%s.admin' % app)
>  File "<
> http://coin.5cat.com:8080/job/lernanta/ws/.env/lib/python2.7/site-packages/django/utils/importlib.py",>
> line 35, in import_module
>    __import__(name)
>  File "<
> http://coin.5cat.com:8080/job/lernanta/ws/.env/lib/python2.7/site-packages/djcelery/admin.py",>
> line 310, in <module>
>    class PeriodicTaskAdmin(admin.ModelAdmin):
>  File "<
> http://coin.5cat.com:8080/job/lernanta/ws/.env/lib/python2.7/site-packages/djcelery/admin.py",>
> line 312, in PeriodicTaskAdmin
>    form = periodic_task_form()
>  File "<
> http://coin.5cat.com:8080/job/lernanta/ws/.env/lib/python2.7/site-packages/djcelery/admin.py",>
> line 283, in periodic_task_form
>    loaders.autodiscover()
>  File "<
> http://coin.5cat.com:8080/job/lernanta/ws/.env/lib/python2.7/site-packages/djcelery/loaders.py",>
> line 104, in autodiscover
>    for app in settings.INSTALLED_APPS])
>  File "<
> http://coin.5cat.com:8080/job/lernanta/ws/.env/lib/python2.7/site-packages/djcelery/loaders.py",>
> line 123, in find_related_module
>    module = importlib.import_module("%s.%s" % (app, related_name))
>  File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module
>    __import__(name)
>  File "<http://coin.5cat.com:8080/job/lernanta/ws/apps/dashboard/tasks.py",>
> line 14, in <module>
> ImportError: cannot import name FeedEntry
>
> ----------------------------------------------------------------------
> Ran 42 tests in 2.408s
>
> FAILED (errors=25)
> 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
>



-- 
Jessica Ledbetter
http://jessicaledbetter.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.p2pu.org/pipermail/p2pu-dev/attachments/20110703/c4abdba8/attachment-0001.html>


More information about the p2pu-dev mailing list