[p2pu-dev] Build failed in Hudson: lernanta #262
Lernanta Hudson
hudson at coin.5cat.com
Wed Nov 30 23:31:05 UTC 2011
See <http://coin.5cat.com:8080/job/lernanta/262/changes>
Changes:
[Zuzel Vera] Fixing bug: pilot_badges was not defined for non profile views.
------------------------------------------
[...truncated 492 lines...]
Skipping creation of NoticeTypes as notification app not found
Running migrations for projects:
- Nothing to migrate.
- Loading initial data for projects.
No fixtures found.
Skipping creation of NoticeTypes as notification app not found
Running migrations for drumbeat:
- Nothing to migrate.
- Loading initial data for drumbeat.
No fixtures found.
Skipping creation of NoticeTypes as notification app not found
Running migrations for tags:
- Nothing to migrate.
- Loading initial data for tags.
No fixtures found.
Skipping creation of NoticeTypes as notification app not found
Running migrations for tracker:
- Nothing to migrate.
- Loading initial data for tracker.
No fixtures found.
Got an error creating the test database: (1007, "Can't create database 'test_lernanta'; database exists")
.E.....E...........................E.E....
======================================================================
ERROR: Test that an authorized request with a user profile lands on
----------------------------------------------------------------------
Traceback (most recent call last):
File "<http://coin.5cat.com:8080/job/lernanta/ws/lernanta/../lernanta/apps/dashboard/tests.py",> line 48, in test_authorized_request_profile
response = self.client.get('/%s/dashboard/' % (self.locale,))
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/.env/lib/python2.7/site-packages/django/contrib/auth/decorators.py",> line 23, in _wrapped_view
return view_func(request, *args, **kwargs)
File "<http://coin.5cat.com:8080/job/lernanta/ws/lernanta/apps/dashboard/views.py",> line 87, in dashboard
context_instance=RequestContext(request))
File "<http://coin.5cat.com:8080/job/lernanta/ws/.env/lib/python2.7/site-packages/django/shortcuts/__init__.py",> line 20, in render_to_response
return HttpResponse(loader.render_to_string(*args, **kwargs), **httpresponse_kwargs)
File "<http://coin.5cat.com:8080/job/lernanta/ws/.env/lib/python2.7/site-packages/django/template/loader.py",> line 188, in render_to_string
return t.render(context_instance)
File "<http://coin.5cat.com:8080/job/lernanta/ws/.env/lib/python2.7/site-packages/django/template/base.py",> line 123, in render
return self._render(context)
File "<http://coin.5cat.com:8080/job/lernanta/ws/.env/lib/python2.7/site-packages/django/test/utils.py",> line 57, in instrumented_test_render
return self.nodelist.render(context)
File "<http://coin.5cat.com:8080/job/lernanta/ws/.env/lib/python2.7/site-packages/django/template/base.py",> line 744, in render
bits.append(self.render_node(node, context))
File "<http://coin.5cat.com:8080/job/lernanta/ws/.env/lib/python2.7/site-packages/django/template/base.py",> line 757, in render_node
return node.render(context)
File "<http://coin.5cat.com:8080/job/lernanta/ws/.env/lib/python2.7/site-packages/django/template/loader_tags.py",> line 127, in render
return compiled_parent._render(context)
File "<http://coin.5cat.com:8080/job/lernanta/ws/.env/lib/python2.7/site-packages/django/test/utils.py",> line 57, in instrumented_test_render
return self.nodelist.render(context)
File "<http://coin.5cat.com:8080/job/lernanta/ws/.env/lib/python2.7/site-packages/django/template/base.py",> line 744, in render
bits.append(self.render_node(node, context))
File "<http://coin.5cat.com:8080/job/lernanta/ws/.env/lib/python2.7/site-packages/django/template/base.py",> line 757, in render_node
return node.render(context)
File "<http://coin.5cat.com:8080/job/lernanta/ws/.env/lib/python2.7/site-packages/django/template/loader_tags.py",> line 64, in render
result = block.nodelist.render(context)
File "<http://coin.5cat.com:8080/job/lernanta/ws/.env/lib/python2.7/site-packages/django/template/base.py",> line 744, in render
bits.append(self.render_node(node, context))
File "<http://coin.5cat.com:8080/job/lernanta/ws/.env/lib/python2.7/site-packages/django/template/base.py",> line 757, in render_node
return node.render(context)
File "<http://coin.5cat.com:8080/job/lernanta/ws/.env/lib/python2.7/site-packages/django/template/base.py",> line 921, in render
dict = func(*args)
File "<http://coin.5cat.com:8080/job/lernanta/ws/lernanta/../lernanta/apps/users/templatetags/user_tags.py",> line 56, in user_sidebar
'badges_count': badges_count,
UnboundLocalError: local variable 'badges_count' referenced before assignment
-------------------- >> 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 that post requests are treated properly.
----------------------------------------------------------------------
Traceback (most recent call last):
File "<http://coin.5cat.com:8080/job/lernanta/ws/lernanta/../lernanta/apps/l10n/tests.py",> line 81, in test_login_post_redirect
target_status_code=200)
File "<http://coin.5cat.com:8080/job/lernanta/ws/.env/lib/python2.7/site-packages/django/test/testcases.py",> line 389, in assertRedirects
redirect_response = response.client.get(path, QueryDict(query))
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/.env/lib/python2.7/site-packages/django/contrib/auth/decorators.py",> line 23, in _wrapped_view
return view_func(request, *args, **kwargs)
File "<http://coin.5cat.com:8080/job/lernanta/ws/lernanta/apps/dashboard/views.py",> line 87, in dashboard
context_instance=RequestContext(request))
File "<http://coin.5cat.com:8080/job/lernanta/ws/.env/lib/python2.7/site-packages/django/shortcuts/__init__.py",> line 20, in render_to_response
return HttpResponse(loader.render_to_string(*args, **kwargs), **httpresponse_kwargs)
File "<http://coin.5cat.com:8080/job/lernanta/ws/.env/lib/python2.7/site-packages/django/template/loader.py",> line 188, in render_to_string
return t.render(context_instance)
File "<http://coin.5cat.com:8080/job/lernanta/ws/.env/lib/python2.7/site-packages/django/template/base.py",> line 123, in render
return self._render(context)
File "<http://coin.5cat.com:8080/job/lernanta/ws/.env/lib/python2.7/site-packages/django/test/utils.py",> line 57, in instrumented_test_render
return self.nodelist.render(context)
File "<http://coin.5cat.com:8080/job/lernanta/ws/.env/lib/python2.7/site-packages/django/template/base.py",> line 744, in render
bits.append(self.render_node(node, context))
File "<http://coin.5cat.com:8080/job/lernanta/ws/.env/lib/python2.7/site-packages/django/template/base.py",> line 757, in render_node
return node.render(context)
File "<http://coin.5cat.com:8080/job/lernanta/ws/.env/lib/python2.7/site-packages/django/template/loader_tags.py",> line 127, in render
return compiled_parent._render(context)
File "<http://coin.5cat.com:8080/job/lernanta/ws/.env/lib/python2.7/site-packages/django/test/utils.py",> line 57, in instrumented_test_render
return self.nodelist.render(context)
File "<http://coin.5cat.com:8080/job/lernanta/ws/.env/lib/python2.7/site-packages/django/template/base.py",> line 744, in render
bits.append(self.render_node(node, context))
File "<http://coin.5cat.com:8080/job/lernanta/ws/.env/lib/python2.7/site-packages/django/template/base.py",> line 757, in render_node
return node.render(context)
File "<http://coin.5cat.com:8080/job/lernanta/ws/.env/lib/python2.7/site-packages/django/template/loader_tags.py",> line 64, in render
result = block.nodelist.render(context)
File "<http://coin.5cat.com:8080/job/lernanta/ws/.env/lib/python2.7/site-packages/django/template/base.py",> line 744, in render
bits.append(self.render_node(node, context))
File "<http://coin.5cat.com:8080/job/lernanta/ws/.env/lib/python2.7/site-packages/django/template/base.py",> line 757, in render_node
return node.render(context)
File "<http://coin.5cat.com:8080/job/lernanta/ws/.env/lib/python2.7/site-packages/django/template/base.py",> line 921, in render
dict = func(*args)
File "<http://coin.5cat.com:8080/job/lernanta/ws/lernanta/../lernanta/apps/users/templatetags/user_tags.py",> line 56, in user_sidebar
'badges_count': badges_count,
UnboundLocalError: local variable 'badges_count' referenced before assignment
-------------------- >> 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 that authenticated users are redirected in specific views.
----------------------------------------------------------------------
Traceback (most recent call last):
File "<http://coin.5cat.com:8080/job/lernanta/ws/lernanta/../lernanta/apps/users/tests.py",> line 46, in test_authenticated_redirects
target_status_code=200)
File "<http://coin.5cat.com:8080/job/lernanta/ws/.env/lib/python2.7/site-packages/django/test/testcases.py",> line 389, in assertRedirects
redirect_response = response.client.get(path, QueryDict(query))
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/.env/lib/python2.7/site-packages/django/contrib/auth/decorators.py",> line 23, in _wrapped_view
return view_func(request, *args, **kwargs)
File "<http://coin.5cat.com:8080/job/lernanta/ws/lernanta/apps/dashboard/views.py",> line 87, in dashboard
context_instance=RequestContext(request))
File "<http://coin.5cat.com:8080/job/lernanta/ws/.env/lib/python2.7/site-packages/django/shortcuts/__init__.py",> line 20, in render_to_response
return HttpResponse(loader.render_to_string(*args, **kwargs), **httpresponse_kwargs)
File "<http://coin.5cat.com:8080/job/lernanta/ws/.env/lib/python2.7/site-packages/django/template/loader.py",> line 188, in render_to_string
return t.render(context_instance)
File "<http://coin.5cat.com:8080/job/lernanta/ws/.env/lib/python2.7/site-packages/django/template/base.py",> line 123, in render
return self._render(context)
File "<http://coin.5cat.com:8080/job/lernanta/ws/.env/lib/python2.7/site-packages/django/test/utils.py",> line 57, in instrumented_test_render
return self.nodelist.render(context)
File "<http://coin.5cat.com:8080/job/lernanta/ws/.env/lib/python2.7/site-packages/django/template/base.py",> line 744, in render
bits.append(self.render_node(node, context))
File "<http://coin.5cat.com:8080/job/lernanta/ws/.env/lib/python2.7/site-packages/django/template/base.py",> line 757, in render_node
return node.render(context)
File "<http://coin.5cat.com:8080/job/lernanta/ws/.env/lib/python2.7/site-packages/django/template/loader_tags.py",> line 127, in render
return compiled_parent._render(context)
File "<http://coin.5cat.com:8080/job/lernanta/ws/.env/lib/python2.7/site-packages/django/test/utils.py",> line 57, in instrumented_test_render
return self.nodelist.render(context)
File "<http://coin.5cat.com:8080/job/lernanta/ws/.env/lib/python2.7/site-packages/django/template/base.py",> line 744, in render
bits.append(self.render_node(node, context))
File "<http://coin.5cat.com:8080/job/lernanta/ws/.env/lib/python2.7/site-packages/django/template/base.py",> line 757, in render_node
return node.render(context)
File "<http://coin.5cat.com:8080/job/lernanta/ws/.env/lib/python2.7/site-packages/django/template/loader_tags.py",> line 64, in render
result = block.nodelist.render(context)
File "<http://coin.5cat.com:8080/job/lernanta/ws/.env/lib/python2.7/site-packages/django/template/base.py",> line 744, in render
bits.append(self.render_node(node, context))
File "<http://coin.5cat.com:8080/job/lernanta/ws/.env/lib/python2.7/site-packages/django/template/base.py",> line 757, in render_node
return node.render(context)
File "<http://coin.5cat.com:8080/job/lernanta/ws/.env/lib/python2.7/site-packages/django/template/base.py",> line 921, in render
dict = func(*args)
File "<http://coin.5cat.com:8080/job/lernanta/ws/lernanta/../lernanta/apps/users/templatetags/user_tags.py",> line 56, in user_sidebar
'badges_count': badges_count,
UnboundLocalError: local variable 'badges_count' referenced before assignment
-------------------- >> 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 logging in.
----------------------------------------------------------------------
Traceback (most recent call last):
File "<http://coin.5cat.com:8080/job/lernanta/ws/lernanta/../lernanta/apps/users/tests.py",> line 68, in test_login_post
target_status_code=200)
File "<http://coin.5cat.com:8080/job/lernanta/ws/.env/lib/python2.7/site-packages/django/test/testcases.py",> line 389, in assertRedirects
redirect_response = response.client.get(path, QueryDict(query))
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/.env/lib/python2.7/site-packages/django/contrib/auth/decorators.py",> line 23, in _wrapped_view
return view_func(request, *args, **kwargs)
File "<http://coin.5cat.com:8080/job/lernanta/ws/lernanta/apps/dashboard/views.py",> line 87, in dashboard
context_instance=RequestContext(request))
File "<http://coin.5cat.com:8080/job/lernanta/ws/.env/lib/python2.7/site-packages/django/shortcuts/__init__.py",> line 20, in render_to_response
return HttpResponse(loader.render_to_string(*args, **kwargs), **httpresponse_kwargs)
File "<http://coin.5cat.com:8080/job/lernanta/ws/.env/lib/python2.7/site-packages/django/template/loader.py",> line 188, in render_to_string
return t.render(context_instance)
File "<http://coin.5cat.com:8080/job/lernanta/ws/.env/lib/python2.7/site-packages/django/template/base.py",> line 123, in render
return self._render(context)
File "<http://coin.5cat.com:8080/job/lernanta/ws/.env/lib/python2.7/site-packages/django/test/utils.py",> line 57, in instrumented_test_render
return self.nodelist.render(context)
File "<http://coin.5cat.com:8080/job/lernanta/ws/.env/lib/python2.7/site-packages/django/template/base.py",> line 744, in render
bits.append(self.render_node(node, context))
File "<http://coin.5cat.com:8080/job/lernanta/ws/.env/lib/python2.7/site-packages/django/template/base.py",> line 757, in render_node
return node.render(context)
File "<http://coin.5cat.com:8080/job/lernanta/ws/.env/lib/python2.7/site-packages/django/template/loader_tags.py",> line 127, in render
return compiled_parent._render(context)
File "<http://coin.5cat.com:8080/job/lernanta/ws/.env/lib/python2.7/site-packages/django/test/utils.py",> line 57, in instrumented_test_render
return self.nodelist.render(context)
File "<http://coin.5cat.com:8080/job/lernanta/ws/.env/lib/python2.7/site-packages/django/template/base.py",> line 744, in render
bits.append(self.render_node(node, context))
File "<http://coin.5cat.com:8080/job/lernanta/ws/.env/lib/python2.7/site-packages/django/template/base.py",> line 757, in render_node
return node.render(context)
File "<http://coin.5cat.com:8080/job/lernanta/ws/.env/lib/python2.7/site-packages/django/template/loader_tags.py",> line 64, in render
result = block.nodelist.render(context)
File "<http://coin.5cat.com:8080/job/lernanta/ws/.env/lib/python2.7/site-packages/django/template/base.py",> line 744, in render
bits.append(self.render_node(node, context))
File "<http://coin.5cat.com:8080/job/lernanta/ws/.env/lib/python2.7/site-packages/django/template/base.py",> line 757, in render_node
return node.render(context)
File "<http://coin.5cat.com:8080/job/lernanta/ws/.env/lib/python2.7/site-packages/django/template/base.py",> line 921, in render
dict = func(*args)
File "<http://coin.5cat.com:8080/job/lernanta/ws/lernanta/../lernanta/apps/users/templatetags/user_tags.py",> line 56, in user_sidebar
'badges_count': badges_count,
UnboundLocalError: local variable 'badges_count' referenced before assignment
-------------------- >> 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 << ---------------------
----------------------------------------------------------------------
Ran 42 tests in 8.348s
FAILED (errors=4)
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