Code review comment for lp:~james-w/python-oops-tools/recent-oopses

Revision history for this message
Launchpad PQM Bot (launchpad-pqm) wrote :

The attempt to merge lp:~james-w/python-oops-tools/recent-oopses into lp:python-oops-tools failed.Below is the output from the failed tests.

find . -type f -name '*.py[co]' -exec rm -f {} \;
rm -f bin/buildout
rm -f src/oopstools/settings.py
bzr clean-tree --unknown --force
bzr up download-cache
python bootstrap.py \
  --setup-source=download-cache/ez_setup.py \
  --download-base=download-cache/dist --eggs=eggs \
  --version=1.5.2
Generated script '/home/pqm/pqm-workdir/oops-tools/bin/buildout'.
bin/buildout configuration:db-port=5433
Develop: '/home/pqm/pqm-workdir/oops-tools/.'
Uninstalling filetemplates.
Updating scripts.
Installing filetemplates.
Updating django.
Updating docs.
Updating tags.
bin/test
Creating test database for alias 'default'...
Destroying test database for alias 'default'...

W: line 4 [buildbot-staging]: Deprecated key 'location' used
I: This option will be removed in the future; please update your configuration
W: line 2 [pqm]: Deprecated key 'location' used
I: This option will be removed in the future; please update your configuration
W: line 3 [pqm-oops-tools]: Deprecated key 'location' used
I: This option will be removed in the future; please update your configuration
W: line 1 [precise]: Deprecated key 'location' used
I: This option will be removed in the future; please update your configuration
I: [pqm-oops-tools chroot] Running command: "cd /home/pqm/pqm-workdir/oops-tools && make check"
Nothing to delete.
+N dist/cssselect-0.9.1.tar.gz
+N dist/subvertpy-0.9.1.tar.gz
All changes applied successfully.
Updated to revision 569 of branch http://bazaar.launchpad.net/~launchpad/lp-source-dependencies/trunk
/home/pqm/pqm-workdir/oops-tools/eggs/Django-1.3.3-py2.6.egg/django/template/loaders/filesystem.py:58: DeprecationWarning: 'django.template.loaders.filesystem.load_template_source' is deprecated; use 'django.template.loaders.filesystem.Loader' instead.
  DeprecationWarning
/home/pqm/pqm-workdir/oops-tools/eggs/Django-1.3.3-py2.6.egg/django/template/loaders/app_directories.py:71: DeprecationWarning: 'django.template.loaders.app_directories.load_template_source' is deprecated; use 'django.template.loaders.app_directories.Loader' instead.
  DeprecationWarning
/home/pqm/pqm-workdir/oops-tools/eggs/Django-1.3.3-py2.6.egg/django/contrib/auth/__init__.py:26: DeprecationWarning: Authentication backends without a `supports_object_permissions` attribute are deprecated. Please define it in <class 'django_openid_auth.auth.OpenIDBackend'>.
  DeprecationWarning)
/home/pqm/pqm-workdir/oops-tools/eggs/Django-1.3.3-py2.6.egg/django/contrib/auth/__init__.py:31: DeprecationWarning: Authentication backends without a `supports_anonymous_user` attribute are deprecated. Please define it in <class 'django_openid_auth.auth.OpenIDBackend'>.
  DeprecationWarning)
/home/pqm/pqm-workdir/oops-tools/eggs/Django-1.3.3-py2.6.egg/django/contrib/auth/models.py:393: DeprecationWarning: The user messaging API is deprecated. Please update your code to use the new messages framework.
  category=DeprecationWarning)
........................................E.EE
======================================================================
ERROR: test_no_recent_oopses (test_report.ReportTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/pqm/pqm-workdir/oops-tools/src/oopstools/oops/test/test_report.py", line 45, in test_no_recent_oopses
    resp = self.client.get('/reports/%s/' % (report_name,))
  File "/home/pqm/pqm-workdir/oops-tools/eggs/Django-1.3.3-py2.6.egg/django/test/client.py", line 439, in get
    response = super(Client, self).get(path, data=data, **extra)
  File "/home/pqm/pqm-workdir/oops-tools/eggs/Django-1.3.3-py2.6.egg/django/test/client.py", line 241, in get
    return self.request(**r)
  File "/home/pqm/pqm-workdir/oops-tools/eggs/Django-1.3.3-py2.6.egg/django/core/handlers/base.py", line 111, in get_response
    response = callback(request, *callback_args, **callback_kwargs)
  File "/home/pqm/pqm-workdir/oops-tools/src/oopstools/oops/views.py", line 130, in report
    recent = get_recent_oops_info(report)
  File "/home/pqm/pqm-workdir/oops-tools/src/oopstools/oops/views.py", line 100, in get_recent_oops_info
    prefix_ids = list(report.prefixes.values_list('pk', flat=True))
AttributeError: 'function' object has no attribute 'prefixes'

======================================================================
ERROR: test_number_of_queries (test_report.ReportTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/pqm/pqm-workdir/oops-tools/src/oopstools/oops/test/test_report.py", line 92, in test_number_of_queries
    expected_queries, self.client.get, url)
  File "/home/pqm/pqm-workdir/oops-tools/eggs/Django-1.3.3-py2.6.egg/django/test/testcases.py", line 544, in assertNumQueries
    func(*args, **kwargs)
  File "/home/pqm/pqm-workdir/oops-tools/eggs/Django-1.3.3-py2.6.egg/django/test/client.py", line 439, in get
    response = super(Client, self).get(path, data=data, **extra)
  File "/home/pqm/pqm-workdir/oops-tools/eggs/Django-1.3.3-py2.6.egg/django/test/client.py", line 241, in get
    return self.request(**r)
  File "/home/pqm/pqm-workdir/oops-tools/eggs/Django-1.3.3-py2.6.egg/django/core/handlers/base.py", line 111, in get_response
    response = callback(request, *callback_args, **callback_kwargs)
  File "/home/pqm/pqm-workdir/oops-tools/src/oopstools/oops/views.py", line 130, in report
    recent = get_recent_oops_info(report)
  File "/home/pqm/pqm-workdir/oops-tools/src/oopstools/oops/views.py", line 100, in get_recent_oops_info
    prefix_ids = list(report.prefixes.values_list('pk', flat=True))
AttributeError: 'function' object has no attribute 'prefixes'

======================================================================
ERROR: test_recent_oopses (test_report.ReportTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/pqm/pqm-workdir/oops-tools/src/oopstools/oops/test/test_report.py", line 76, in test_recent_oopses
    resp = self.client.get('/reports/%s/' % (report_name,))
  File "/home/pqm/pqm-workdir/oops-tools/eggs/Django-1.3.3-py2.6.egg/django/test/client.py", line 439, in get
    response = super(Client, self).get(path, data=data, **extra)
  File "/home/pqm/pqm-workdir/oops-tools/eggs/Django-1.3.3-py2.6.egg/django/test/client.py", line 241, in get
    return self.request(**r)
  File "/home/pqm/pqm-workdir/oops-tools/eggs/Django-1.3.3-py2.6.egg/django/core/handlers/base.py", line 111, in get_response
    response = callback(request, *callback_args, **callback_kwargs)
  File "/home/pqm/pqm-workdir/oops-tools/src/oopstools/oops/views.py", line 130, in report
    recent = get_recent_oops_info(report)
  File "/home/pqm/pqm-workdir/oops-tools/src/oopstools/oops/views.py", line 100, in get_recent_oops_info
    prefix_ids = list(report.prefixes.values_list('pk', flat=True))
AttributeError: 'function' object has no attribute 'prefixes'

----------------------------------------------------------------------
Ran 44 tests in 9.121s

FAILED (errors=3)
make: *** [check] Error 1

« Back to merge proposal